changeset 29167:4f76c0c490b3

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