Patchwork D413: obsmarker: fix precnode deprecation

login
register
mail settings
Submitter phabricator
Date Aug. 16, 2017, 6:58 p.m.
Message ID <26057a84a885378f2fdaeefa6ac1016e@localhost.localdomain>
Download mbox | patch
Permalink /patch/23089/
State Not Applicable
Headers show

Comments

phabricator - Aug. 16, 2017, 6:58 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG833f70277f0e: obsmarker: fix precnode deprecation (authored by lothiraldan).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D413?vs=983&id=1008

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

AFFECTED FILES
  mercurial/obsutil.py

CHANGE DETAILS




To: lothiraldan, #hg-reviewers, durin42
Cc: mercurial-devel

Patch

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()