changeset 29165:a212ca70205c

py3: make contrib/dumprevlog use absolute_import
author Pulkit Goyal <7895pulkit@gmail.com>
date Fri, 13 May 2016 02:14:49 +0530
parents 91f35b1a34cf
children 6359b80f15fb
files contrib/dumprevlog
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)