summaryrefslogtreecommitdiffstats
path: root/Parser/asdl_c.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-03-13 00:35:02 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-03-13 00:35:02 (GMT)
commit0d6245dd89ebe0423ae75e1decbeb481eadc0f7a (patch)
tree6c69a6511be878faa5b99097ba0682b5d0ddfedd /Parser/asdl_c.py
parent6cb2b923e02099208305daf5742d924542c377dd (diff)
downloadcpython-0d6245dd89ebe0423ae75e1decbeb481eadc0f7a.zip
cpython-0d6245dd89ebe0423ae75e1decbeb481eadc0f7a.tar.gz
cpython-0d6245dd89ebe0423ae75e1decbeb481eadc0f7a.tar.bz2
actually get file rev
Diffstat (limited to 'Parser/asdl_c.py')
-rwxr-xr-xParser/asdl_c.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/asdl_c.py b/Parser/asdl_c.py
index d7aecb5..147ac8d 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"]
+ args = ["hg", "log", "--template", "{rev}:{node|short}", "--limit", "1", f]
p = subprocess.Popen(args, stdout=subprocess.PIPE)
out = p.communicate()[0]
if p.returncode: