martinvonz created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D5855
AFFECTED FILES
hgext/mq.py
CHANGE DETAILS
diff --git a/hgext/mq.py b/hgext/mq.py
--- a/hgext/
martinvonz updated this revision to Diff 13860.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D5855?vs=13819&id=13860
REVISION DETAIL
https://phab.mercurial-scm.org/D5855
AFFECTED FILES
hgext/mq.py
CHANGE DETAILS
diff --git a/hgext/mq.py b/hgext/mq.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGa2caf9974995: mq: migrate to scmutil.backuppath() (authored
by martinvonz, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D5855?vs=13860&id=13877
yuja added a comment.
> - 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))) + (f,
os.path.relpath(absorig, s
martinvonz added a comment.
In https://phab.mercurial-scm.org/D5855#86020, @yuja wrote:
> > - 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.relpa
martinvonz added a comment.
In https://phab.mercurial-scm.org/D5855#86040, @martinvonz wrote:
> In https://phab.mercurial-scm.org/D5855#86020, @yuja wrote:
>
> > > - absorig = scmutil.origpath(self.ui, repo, absf) +
absorig = scmutil.backuppath(self.ui, repo, f) self.ui
> -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)))
> +