hgext/shelve.py
changeset 27651 07fc2f2134ba
parent 27288 c14af2d4b08c
child 27694 2dc363274702
--- a/hgext/shelve.py	Sun Nov 22 17:57:35 2015 -0800
+++ b/hgext/shelve.py	Sat Jan 02 03:02:57 2016 -0800
@@ -512,7 +512,7 @@
         # revert will overwrite unknown files, so move them out of the way
         for file in repo.status(unknown=True).unknown:
             if file in files:
-                util.rename(file, cmdutil.origpath(ui, repo, file))
+                util.rename(file, scmutil.origpath(ui, repo, file))
         ui.pushbuffer(True)
         cmdutil.revert(ui, repo, shelvectx, repo.dirstate.parents(),
                        *pathtofiles(repo, files),