##// END OF EJS Templates
cleanup: drop redundant character escapes outside of `[]`...
Matt Harbison -
r44474:c1ccefb5 default
parent child Browse files
Show More
@@ -643,7 +643,7 b' class svn_source(converter_source):'
643 643 if not re.match(
644 644 r'svn:[0-9a-f]{8,8}-[0-9a-f]{4,4}-'
645 645 r'[0-9a-f]{4,4}-[0-9a-f]{4,4}-[0-9a-f]'
646 r'{12,12}(.*)\@[0-9]+$',
646 r'{12,12}(.*)@[0-9]+$',
647 647 revstr,
648 648 ):
649 649 raise error.Abort(
@@ -1303,7 +1303,7 b' class svn_sink(converter_sink, commandli'
1303 1303 self.wc = os.path.realpath(path)
1304 1304 self.run0(b'update')
1305 1305 else:
1306 if not re.search(br'^(file|http|https|svn|svn\+ssh)\://', path):
1306 if not re.search(br'^(file|http|https|svn|svn\+ssh)://', path):
1307 1307 path = os.path.realpath(path)
1308 1308 if os.path.isdir(os.path.dirname(path)):
1309 1309 if not os.path.exists(
@@ -63,7 +63,7 b' command = registrar.command(cmdtable)'
63 63 # leave the attribute unspecified.
64 64 testedwith = b'ships-with-hg-core'
65 65
66 _partre = re.compile(br'\{(\d+)\}')
66 _partre = re.compile(br'{(\d+)\}')
67 67
68 68
69 69 class ShortRepository(object):
@@ -593,7 +593,7 b' def mapname(mailmap, author):'
593 593 )
594 594
595 595
596 _correctauthorformat = remod.compile(br'^[^<]+\s\<[^<>]+@[^<>]+\>$')
596 _correctauthorformat = remod.compile(br'^[^<]+\s<[^<>]+@[^<>]+>$')
597 597
598 598
599 599 def isauthorwellformed(author):
General Comments 0
You need to be logged in to leave comments. Login now