D413: obsmarker: fix precnode deprecation
lothiraldan (Boris Feld)
phabricator at mercurial-scm.org
Wed Aug 16 08:19:33 UTC 2017
lothiraldan created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
The deprecation message for marker.precnode was wrong. Fix the typo.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D413
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: lothiraldan, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list