We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e30473c commit 12ba4bdCopy full SHA for 12ba4bd
contrib/remote-helpers/git-remote-hg
@@ -35,9 +35,9 @@ import urllib
35
#
36
37
NAME_RE = re.compile('^([^<>]+)')
38
-AUTHOR_RE = re.compile('^([^<>]+?)? ?<([^<>]+)>$')
39
-AUTHOR_HG_RE = re.compile('^(.*?) ?<(.+?)(?:>(.+)?)?$')
40
-RAW_AUTHOR_RE = re.compile('^(\w+) (?:(.+)? )?<(.+)> (\d+) ([+-]\d+)')
+AUTHOR_RE = re.compile('^([^<>]+?)? ?<([^<>]*)>$')
+AUTHOR_HG_RE = re.compile('^(.*?) ?<(.*?)(?:>(.+)?)?$')
+RAW_AUTHOR_RE = re.compile('^(\w+) (?:(.+)? )?<(.*)> (\d+) ([+-]\d+)')
41
42
def die(msg, *args):
43
sys.stderr.write('ERROR: %s\n' % (msg % args))
0 commit comments