Show More
@@ -643,7 +643,7 b' class svn_source(converter_source):' | |||||
643 | if not re.match( |
|
643 | if not re.match( | |
644 | r'svn:[0-9a-f]{8,8}-[0-9a-f]{4,4}-' |
|
644 | r'svn:[0-9a-f]{8,8}-[0-9a-f]{4,4}-' | |
645 | r'[0-9a-f]{4,4}-[0-9a-f]{4,4}-[0-9a-f]' |
|
645 | r'[0-9a-f]{4,4}-[0-9a-f]{4,4}-[0-9a-f]' | |
646 |
r'{12,12}(.*) |
|
646 | r'{12,12}(.*)@[0-9]+$', | |
647 | revstr, |
|
647 | revstr, | |
648 | ): |
|
648 | ): | |
649 | raise error.Abort( |
|
649 | raise error.Abort( | |
@@ -1303,7 +1303,7 b' class svn_sink(converter_sink, commandli' | |||||
1303 | self.wc = os.path.realpath(path) |
|
1303 | self.wc = os.path.realpath(path) | |
1304 | self.run0(b'update') |
|
1304 | self.run0(b'update') | |
1305 | else: |
|
1305 | else: | |
1306 |
if not re.search(br'^(file|http|https|svn|svn\+ssh) |
|
1306 | if not re.search(br'^(file|http|https|svn|svn\+ssh)://', path): | |
1307 | path = os.path.realpath(path) |
|
1307 | path = os.path.realpath(path) | |
1308 | if os.path.isdir(os.path.dirname(path)): |
|
1308 | if os.path.isdir(os.path.dirname(path)): | |
1309 | if not os.path.exists( |
|
1309 | if not os.path.exists( |
@@ -63,7 +63,7 b' command = registrar.command(cmdtable)' | |||||
63 | # leave the attribute unspecified. |
|
63 | # leave the attribute unspecified. | |
64 | testedwith = b'ships-with-hg-core' |
|
64 | testedwith = b'ships-with-hg-core' | |
65 |
|
65 | |||
66 |
_partre = re.compile(br' |
|
66 | _partre = re.compile(br'{(\d+)\}') | |
67 |
|
67 | |||
68 |
|
68 | |||
69 | class ShortRepository(object): |
|
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 | def isauthorwellformed(author): |
|
599 | def isauthorwellformed(author): |
General Comments 0
You need to be logged in to leave comments.
Login now