##// END OF EJS Templates
mq: migrate to scmutil.backuppath()...
Martin von Zweigbergk -
r41739:a2caf997 default draft
parent child Browse files
Show More
@@ -738,9 +738,9 b' class queue(object):'
738 for f in sorted(files):
738 for f in sorted(files):
739 absf = repo.wjoin(f)
739 absf = repo.wjoin(f)
740 if os.path.lexists(absf):
740 if os.path.lexists(absf):
741 absorig = scmutil.origpath(self.ui, repo, absf)
741 absorig = scmutil.backuppath(self.ui, repo, f)
742 self.ui.note(_('saving current version of %s as %s\n') %
742 self.ui.note(_('saving current version of %s as %s\n') %
743 (f, os.path.relpath(absorig)))
743 (f, os.path.relpath(absorig, start=repo.root)))
744
744
745 if copy:
745 if copy:
746 util.copyfile(absf, absorig)
746 util.copyfile(absf, absorig)
General Comments 0
You need to be logged in to leave comments. Login now