Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
33856:eae63a9e59da | 33857:833f70277f0e |
---|---|
29 return False | 29 return False |
30 return self._data == other._data | 30 return self._data == other._data |
31 | 31 |
32 def precnode(self): | 32 def precnode(self): |
33 msg = ("'marker.precnode' is deprecated, " | 33 msg = ("'marker.precnode' is deprecated, " |
34 "use 'marker.precnode'") | 34 "use 'marker.prednode'") |
35 util.nouideprecwarn(msg, '4.4') | 35 util.nouideprecwarn(msg, '4.4') |
36 return self.prednode() | 36 return self.prednode() |
37 | 37 |
38 def prednode(self): | 38 def prednode(self): |
39 """Predecessor changeset node identifier""" | 39 """Predecessor changeset node identifier""" |