mercurial/fancyopts.py
changeset 25947 6002e2d95e54
parent 25563 69e8384a436c
child 26587 56b2bcea2529
--- a/mercurial/fancyopts.py	Sat Aug 08 19:13:14 2015 -0700
+++ b/mercurial/fancyopts.py	Sat Aug 08 19:16:16 2015 -0700
@@ -5,9 +5,12 @@
 # This software may be used and distributed according to the terms of the
 # GNU General Public License version 2 or any later version.
 
+from __future__ import absolute_import
+
 import getopt
-import util
-from i18n import _
+
+from .i18n import _
+from . import util
 
 def gnugetopt(args, options, longoptions):
     """Parse options mostly like getopt.gnu_getopt.