Show More
@@ -51,6 +51,7 b' test-cat.t' | |||||
51 | test-cbor.py |
|
51 | test-cbor.py | |
52 | test-censor.t |
|
52 | test-censor.t | |
53 | test-changelog-exec.t |
|
53 | test-changelog-exec.t | |
|
54 | test-check-code.t | |||
54 | test-check-commit.t |
|
55 | test-check-commit.t | |
55 | test-check-execute.t |
|
56 | test-check-execute.t | |
56 | test-check-interfaces.py |
|
57 | test-check-interfaces.py |
@@ -22,7 +22,7 b' New errors are not allowed. Warnings are' | |||||
22 | >>> commands = [] |
|
22 | >>> commands = [] | |
23 | >>> with open('mercurial/debugcommands.py', 'rb') as fh: |
|
23 | >>> with open('mercurial/debugcommands.py', 'rb') as fh: | |
24 | ... for line in fh: |
|
24 | ... for line in fh: | |
25 | ... m = re.match("^@command\('([a-z]+)", line) |
|
25 | ... m = re.match(b"^@command\('([a-z]+)", line) | |
26 | ... if m: |
|
26 | ... if m: | |
27 | ... commands.append(m.group(1)) |
|
27 | ... commands.append(m.group(1)) | |
28 | >>> scommands = list(sorted(commands)) |
|
28 | >>> scommands = list(sorted(commands)) |
General Comments 0
You need to be logged in to leave comments.
Login now