diff mercurial/cmdutil.py @ 33731:2cb442bc1a76

obsmarker: rename precnode into prednode Rename prednode (predecessors node) into precnode (precursors node) in markers class. Use util.nouideprecwarn because markers doesn't have easy access to an ui object. The renaming is done according to https://www.mercurial-scm.org/wiki/CEDVocabulary. Differential Revision: https://phab.mercurial-scm.org/D243
author Boris Feld <boris.feld@octobus.net>
date Wed, 02 Aug 2017 19:20:59 +0200
parents 52c5ff856b49
children 86aca74a063b
line wrap: on
line diff
--- a/mercurial/cmdutil.py	Wed Aug 02 19:13:56 2017 +0200
+++ b/mercurial/cmdutil.py	Wed Aug 02 19:20:59 2017 +0200
@@ -1913,7 +1913,7 @@
     To be used by debug function."""
     if index is not None:
         fm.write('index', '%i ', index)
-    fm.write('precnode', '%s ', hex(marker.precnode()))
+    fm.write('precnode', '%s ', hex(marker.prednode()))
     succs = marker.succnodes()
     fm.condwrite(succs, 'succnodes', '%s ',
                  fm.formatlist(map(hex, succs), name='node'))