Mercurial > public > mercurial-scm > hg
diff mercurial/pure/mpatch.py @ 32371:151cc3b3d799
mpatch: switch to policy importer
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 13 Aug 2016 12:18:58 +0900 |
parents | f2846d546645 |
children | 2dcb3d52ef41 |
line wrap: on
line diff
--- a/mercurial/pure/mpatch.py Sat Aug 13 12:15:49 2016 +0900 +++ b/mercurial/pure/mpatch.py Sat Aug 13 12:18:58 2016 +0900 @@ -9,7 +9,7 @@ import struct -from . import policy, pycompat +from .. import policy, pycompat stringio = pycompat.stringio modulepolicy = policy.policy policynocffi = policy.policynocffi @@ -167,4 +167,3 @@ res = ffi.buffer(buf, outlen)[:] lib.mpatch_lfree(patch) return res -