Mercurial > hg
diff hgext/win32mbcs.py @ 28417:588874c33b4d
win32mbcs: use absolute_import
author | timeless <timeless@mozdev.org> |
---|---|
date | Wed, 02 Mar 2016 21:50:35 +0000 |
parents | 56b2bcea2529 |
children | a0939666b836 |
line wrap: on
line diff
--- a/hgext/win32mbcs.py Wed Mar 02 21:48:08 2016 +0000 +++ b/hgext/win32mbcs.py Wed Mar 02 21:50:35 2016 +0000 @@ -44,10 +44,17 @@ It is useful for the users who want to commit with UTF-8 log message. ''' +from __future__ import absolute_import -import os, sys +import os +import sys + +from mercurial import ( + encoding, + error, +) from mercurial.i18n import _ -from mercurial import error, encoding + # Note for extension authors: ONLY specify testedwith = 'internal' for # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should # be specifying the version(s) of Mercurial they are tested with, or