Mercurial > hg
diff contrib/undumprevlog @ 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 | 5bd1f6572db0 |
children | 21fa3d3688f3 |
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)