Patchwork D5956: scmutil: fix a comment that doesn't match the code

login
register
mail settings
Submitter phabricator
Date Feb. 14, 2019, 1:24 p.m.
Message ID <85be1699ceca1f35627a5dca52f03e06@localhost.localdomain>
Download mbox | patch
Permalink /patch/38742/
State Not Applicable
Headers show

Comments

phabricator - Feb. 14, 2019, 1:24 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG879495c68e31: scmutil: fix a comment that doesn&#039;t match the code (authored by martinvonz, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D5956?vs=14080&id=14086

REVISION DETAIL
  https://phab.mercurial-scm.org/D5956

AFFECTED FILES
  mercurial/scmutil.py

CHANGE DETAILS




To: martinvonz, #hg-reviewers, pulkit
Cc: mercurial-devel

Patch

diff --git a/mercurial/scmutil.py b/mercurial/scmutil.py
--- a/mercurial/scmutil.py
+++ b/mercurial/scmutil.py
@@ -1123,7 +1123,7 @@ 
             repo.ui.status(status)
 
     # TODO: We should probably have the caller pass in uipathfn and apply it to
-    # the messages above too. forcerelativevalue=True is consistent with how
+    # the messages above too. legacyrelativevalue=True is consistent with how
     # it used to work.
     uipathfn = getuipathfn(repo, legacyrelativevalue=True)
     renames = _findrenames(repo, m, added + unknown, removed + deleted,