# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 1463085889 -19800 # Node ID a212ca70205c85488249180997787320aecf0458 # Parent 91f35b1a34cf4203a9b92e1ee241fcbd1881cc0e py3: make contrib/dumprevlog use absolute_import diff -r 91f35b1a34cf -r a212ca70205c 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)