##// END OF EJS Templates
undumprevlog: update to valid Python 3 syntax...
Augie Fackler -
r33874:5d9890d8 default
parent child Browse files
Show More
@@ -3,7 +3,7 b''
3 3 # $ hg init
4 4 # $ undumprevlog < repo.dump
5 5
6 from __future__ import absolute_import
6 from __future__ import absolute_import, print_function
7 7
8 8 import sys
9 9 from mercurial import (
@@ -27,7 +27,7 b' while True:'
27 27 if l.startswith("file:"):
28 28 f = l[6:-1]
29 29 r = revlog.revlog(opener, f)
30 print f
30 print(f)
31 31 elif l.startswith("node:"):
32 32 n = node.bin(l[6:-1])
33 33 elif l.startswith("linkrev:"):
General Comments 0
You need to be logged in to leave comments. Login now