##// 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 # $ hg init
3 # $ hg init
4 # $ undumprevlog < repo.dump
4 # $ undumprevlog < repo.dump
5
5
6 from __future__ import absolute_import
6 from __future__ import absolute_import, print_function
7
7
8 import sys
8 import sys
9 from mercurial import (
9 from mercurial import (
@@ -27,7 +27,7 b' while True:'
27 if l.startswith("file:"):
27 if l.startswith("file:"):
28 f = l[6:-1]
28 f = l[6:-1]
29 r = revlog.revlog(opener, f)
29 r = revlog.revlog(opener, f)
30 print f
30 print(f)
31 elif l.startswith("node:"):
31 elif l.startswith("node:"):
32 n = node.bin(l[6:-1])
32 n = node.bin(l[6:-1])
33 elif l.startswith("linkrev:"):
33 elif l.startswith("linkrev:"):
General Comments 0
You need to be logged in to leave comments. Login now