# HG changeset patch # User Martin von Zweigbergk # Date 1549343417 28800 # Node ID 106b0bec162ab2ba1fb1718ad71b709db71d2134 # Parent e89e78a725eebab0282b4dd669d07797511252f8 mq: migrate to scmutil.backuppath() Differential Revision: https://phab.mercurial-scm.org/D5855 diff -r e89e78a725ee -r 106b0bec162a hgext/mq.py --- a/hgext/mq.py Mon Feb 04 21:00:58 2019 -0800 +++ b/hgext/mq.py Mon Feb 04 21:10:17 2019 -0800 @@ -738,7 +738,7 @@ for f in sorted(files): absf = repo.wjoin(f) if os.path.lexists(absf): - absorig = scmutil.origpath(self.ui, repo, absf) + absorig = scmutil.backuppath(self.ui, repo, f) self.ui.note(_('saving current version of %s as %s\n') % (f, os.path.relpath(absorig)))