diff -r 0129bf02fa04 -r 4606585549b1 hgext/shelve.py --- a/hgext/shelve.py Wed Mar 27 14:55:46 2019 -0700 +++ b/hgext/shelve.py Fri Mar 29 11:31:42 2019 -0700 @@ -646,10 +646,6 @@ raise error.Abort(_('working directory parents do not match unshelve ' 'state')) -def pathtofiles(repo, files): - cwd = repo.getcwd() - return [repo.pathto(f, cwd) for f in files] - def unshelveabort(ui, repo, state, opts): """subcommand that abort an in-progress unshelve""" with repo.lock(): @@ -689,7 +685,6 @@ scmutil.backuppath(ui, repo, file)) ui.pushbuffer(True) cmdutil.revert(ui, repo, shelvectx, repo.dirstate.parents(), - *pathtofiles(repo, files), **{r'no_backup': True}) ui.popbuffer()