D5936: addremove: respect ui.relative-paths
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Wed Feb 13 13:51:21 EST 2019
martinvonz added a comment.
In https://phab.mercurial-scm.org/D5936#86976, @martinvonz wrote:
> Ironic given the subject line that I missed this hunk:
>
> diff --git a/mercurial/commands.py b/mercurial/commands.py
> --- a/mercurial/commands.py
> +++ b/mercurial/commands.py
> @@ -256,7 +256,7 @@ def addremove(ui, repo, *pats, **opts):
> opts['similarity'] = '100'
> matcher = scmutil.match(repo[None], pats, opts)
> relative = scmutil.anypats(pats, opts)
> - uipathfn = scmutil.getuipathfn(repo, forcerelativevalue=relative)
> + uipathfn = scmutil.getuipathfn(repo, legacyrelativevalue=relative)
> return scmutil.addremove(repo, matcher, "", uipathfn, opts)
>
> @command('annotate|blame',
>
>
> I'll fold that in in flight since the commit is not yet public.
Hmm, the same thing for `hg forget`. I'll fix that too if people don't mind.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D5936
To: martinvonz, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list