Mercurial > public > mercurial-scm > hg
diff mercurial/filemerge.py @ 27651:07fc2f2134ba
origpath: move from cmdutil to scmutil
This is a lower-level function so it doesn't need to be in cmdutil, and putting
it here avoids a bunch of potential import cycle issues.
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Sat, 02 Jan 2016 03:02:57 -0800 |
parents | ad5966de3c9a |
children | 66d085e55ecd |
line wrap: on
line diff
--- a/mercurial/filemerge.py Sun Nov 22 17:57:35 2015 -0800 +++ b/mercurial/filemerge.py Sat Jan 02 03:02:57 2016 -0800 @@ -16,9 +16,9 @@ from .node import nullid, short from . import ( - cmdutil, error, match, + scmutil, simplemerge, tagmerge, templatekw, @@ -608,7 +608,7 @@ b = temp("base", fca) c = temp("other", fco) if not fcd.isabsent(): - back = cmdutil.origpath(ui, repo, a) + back = scmutil.origpath(ui, repo, a) if premerge: util.copyfile(a, back) else: