changeset 33878:833f70277f0e

obsmarker: fix precnode deprecation The deprecation message for marker.precnode was wrong. Fix the typo. Differential Revision: https://phab.mercurial-scm.org/D413
author Boris Feld <boris.feld@octobus.net>
date Wed, 16 Aug 2017 10:18:57 +0200
parents eae63a9e59da
children 6f6c87888b22
files mercurial/obsutil.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/obsutil.py	Wed Aug 16 10:26:26 2017 +0200
+++ b/mercurial/obsutil.py	Wed Aug 16 10:18:57 2017 +0200
@@ -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()