Mercurial > hg > mercurial-source
diff mercurial/subrepo.py @ 28306: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 (2016-01-02) |
parents | 91786f20db83 |
children | b2efdb66c406 |
line wrap: on
line diff
--- a/mercurial/subrepo.py +++ b/mercurial/subrepo.py @@ -1910,7 +1910,7 @@ status = self.status(None) names = status.modified for name in names: - bakname = cmdutil.origpath(self.ui, self._subparent, name) + bakname = scmutil.origpath(self.ui, self._subparent, name) self.ui.note(_('saving current version of %s as %s\n') % (name, bakname)) self.wvfs.rename(name, bakname)