Show More
@@ -7,10 +7,12 b'' | |||||
7 | # $ ./hg serve --cmds pipe | ./contrib/debugcmdserver.py - |
|
7 | # $ ./hg serve --cmds pipe | ./contrib/debugcmdserver.py - | |
8 | # o, 52 -> 'capabilities: getencoding runcommand\nencoding: UTF-8' |
|
8 | # o, 52 -> 'capabilities: getencoding runcommand\nencoding: UTF-8' | |
9 |
|
9 | |||
10 | import sys, struct |
|
10 | from __future__ import absolute_import, print_function | |
|
11 | import struct | |||
|
12 | import sys | |||
11 |
|
13 | |||
12 | if len(sys.argv) != 2: |
|
14 | if len(sys.argv) != 2: | |
13 |
print |
|
15 | print('usage: debugcmdserver.py FILE') | |
14 | sys.exit(1) |
|
16 | sys.exit(1) | |
15 |
|
17 | |||
16 | outputfmt = '>cI' |
|
18 | outputfmt = '>cI' |
@@ -5,8 +5,6 b'' | |||||
5 | $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs python contrib/check-py3-compat.py |
|
5 | $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs python contrib/check-py3-compat.py | |
6 | contrib/check-code.py not using absolute_import |
|
6 | contrib/check-code.py not using absolute_import | |
7 | contrib/check-code.py requires print_function |
|
7 | contrib/check-code.py requires print_function | |
8 | contrib/debugcmdserver.py not using absolute_import |
|
|||
9 | contrib/debugcmdserver.py requires print_function |
|
|||
10 | contrib/debugshell.py not using absolute_import |
|
8 | contrib/debugshell.py not using absolute_import | |
11 | contrib/fixpax.py not using absolute_import |
|
9 | contrib/fixpax.py not using absolute_import | |
12 | contrib/fixpax.py requires print_function |
|
10 | contrib/fixpax.py requires print_function |
General Comments 0
You need to be logged in to leave comments.
Login now