[PATCH 12 of 21 WIP-PY3K] scmposix: convert to absolute_import
Matthew Turk
matthewturk at gmail.com
Mon Oct 12 16:24:56 CDT 2015
# HG changeset patch
# User Matthew Turk <matthewturk at gmail.com>
# Date 1444684108 18000
# Mon Oct 12 16:08:28 2015 -0500
# Node ID bf4bdc52fd790fd7513c4f6f7890cd58f0e5d8ae
# Parent 1909a6e3207888e6ec19ba1dd5f574e4bc87e916
scmposix: convert to absolute_import
diff -r 1909a6e32078 -r bf4bdc52fd79 mercurial/scmposix.py
--- a/mercurial/scmposix.py Mon Oct 12 16:08:10 2015 -0500
+++ b/mercurial/scmposix.py Mon Oct 12 16:08:28 2015 -0500
@@ -1,5 +1,7 @@
+from __future__ import absolute_import
+
import sys, os
-import osutil
+from . import osutil
def _rcfiles(path):
rcs = [os.path.join(path, 'hgrc')]
More information about the Mercurial-devel
mailing list