py3: make contrib/dumprevlog use absolute_import
authorPulkit Goyal <7895pulkit@gmail.com>
Fri, 13 May 2016 02:14:49 +0530
changeset 29165 a212ca70205c
parent 29164 91f35b1a34cf
child 29166 6359b80f15fb
py3: make contrib/dumprevlog use absolute_import
contrib/dumprevlog
--- a/contrib/dumprevlog	Fri May 13 02:13:14 2016 +0530
+++ b/contrib/dumprevlog	Fri May 13 02:14:49 2016 +0530
@@ -2,8 +2,14 @@
 # Dump revlogs as raw data stream
 # $ find .hg/store/ -name "*.i" | xargs dumprevlog > repo.dump
 
+from __future__ import absolute_import
+
 import sys
-from mercurial import revlog, node, util
+from mercurial import (
+    node,
+    revlog,
+    util,
+)
 
 for fp in (sys.stdin, sys.stdout, sys.stderr):
     util.setbinary(fp)