py3: make contrib/undumprevlog use absolute_import
authorPulkit Goyal <7895pulkit@gmail.com>
Fri, 13 May 2016 02:23:45 +0530
changeset 29167 4f76c0c490b3
parent 29166 6359b80f15fb
child 29168 8f2805ce93d9
py3: make contrib/undumprevlog use absolute_import
contrib/undumprevlog
--- a/contrib/undumprevlog	Fri May 13 02:16:32 2016 +0530
+++ b/contrib/undumprevlog	Fri May 13 02:23:45 2016 +0530
@@ -3,8 +3,16 @@
 # $ hg init
 # $ undumprevlog < repo.dump
 
+from __future__ import absolute_import
+
 import sys
-from mercurial import revlog, node, scmutil, util, transaction
+from mercurial import (
+    node,
+    revlog,
+    scmutil,
+    transaction,
+    util,
+)
 
 for fp in (sys.stdin, sys.stdout, sys.stderr):
     util.setbinary(fp)