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

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Thu Feb 14 08:24:01 EST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG879495c68e31: scmutil: fix a comment that doesn'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

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, pulkit
Cc: mercurial-devel


More information about the Mercurial-devel mailing list