diff options
author | Benjamin Peterson <benjamin@python.org> | 2011-03-13 21:36:08 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2011-03-13 21:36:08 (GMT) |
commit | c9723d09eb1b3faef6cc7e3c083def5e6d3278ae (patch) | |
tree | ae65ed8037e48398a9709f3c33afe84905358753 /Parser/asdl_c.py | |
parent | 0d23189dae7d8629945099b6a7e692afbee41e39 (diff) | |
download | cpython-c9723d09eb1b3faef6cc7e3c083def5e6d3278ae.zip cpython-c9723d09eb1b3faef6cc7e3c083def5e6d3278ae.tar.gz cpython-c9723d09eb1b3faef6cc7e3c083def5e6d3278ae.tar.bz2 |
use only the hex version, since the revno is unreliable across repos
Diffstat (limited to 'Parser/asdl_c.py')
-rwxr-xr-x | Parser/asdl_c.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/asdl_c.py b/Parser/asdl_c.py index 147ac8d..cdce5a3 100755 --- a/Parser/asdl_c.py +++ b/Parser/asdl_c.py @@ -1138,7 +1138,7 @@ c_file_msg = """ def get_file_revision(f): """Fish out the last change to a file in hg.""" - args = ["hg", "log", "--template", "{rev}:{node|short}", "--limit", "1", f] + args = ["hg", "log", "--template", "{node|short}", "--limit", "1", f] p = subprocess.Popen(args, stdout=subprocess.PIPE) out = p.communicate()[0] if p.returncode: |