D426: obsutil: correct deprecation warning message

ryanmce (Ryan McElroy) phabricator at mercurial-scm.org
Thu Aug 17 13:37:22 UTC 2017


ryanmce created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

AFFECTED FILES
  mercurial/obsutil.py

CHANGE DETAILS

diff --git a/mercurial/obsutil.py b/mercurial/obsutil.py
--- a/mercurial/obsutil.py
+++ b/mercurial/obsutil.py
@@ -31,7 +31,7 @@
 
     def precnode(self):
         msg = ("'marker.precnode' is deprecated, "
-               "use 'marker.precnode'")
+               "use 'marker.prednode'")
         util.nouideprecwarn(msg, '4.4')
         return self.prednode()
 



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


More information about the Mercurial-devel mailing list