Mercurial > public > mercurial-scm > hg-stable
diff mercurial/patch.py @ 32409:017ad85e5ac8
diffhelpers: switch to policy importer
# no-check-commit
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 13 Aug 2016 12:15:49 +0900 |
parents | 0e29ce16ec38 |
children | 66117dae87f9 |
line wrap: on
line diff
--- a/mercurial/patch.py Sat Aug 13 12:12:50 2016 +0900 +++ b/mercurial/patch.py Sat Aug 13 12:15:49 2016 +0900 @@ -27,18 +27,20 @@ ) from . import ( copies, - diffhelpers, encoding, error, mail, mdiff, pathutil, + policy, pycompat, scmutil, similar, util, vfs as vfsmod, ) + +diffhelpers = policy.importmod(r'diffhelpers') stringio = util.stringio gitre = re.compile(br'diff --git a/(.*) b/(.*)')