Mercurial > public > mercurial-scm > hg
diff mercurial/obsutil.py @ 33857: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 | e6d8ee3c9ec3 |
children | 84f72072bde6 |
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()