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

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Wed Feb 13 20:10:22 UTC 2019


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/D5956

AFFECTED FILES
  mercurial/scmutil.py

CHANGE DETAILS

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,



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


More information about the Mercurial-devel mailing list