D414: obsmarker: precnode was renamed into prednode
lothiraldan (Boris Feld)
phabricator at mercurial-scm.org
Wed Aug 16 08:27:20 UTC 2017
lothiraldan created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
Update all calls to formatter.write first arguments to remove references to
precnode and use prednode consistently everywhere.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D414
AFFECTED FILES
mercurial/cmdutil.py
CHANGE DETAILS
diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py
--- a/mercurial/cmdutil.py
+++ b/mercurial/cmdutil.py
@@ -2019,7 +2019,7 @@
To be used by debug function."""
if index is not None:
fm.write('index', '%i ', index)
- fm.write('precnode', '%s ', hex(marker.prednode()))
+ fm.write('prednode', '%s ', hex(marker.prednode()))
succs = marker.succnodes()
fm.condwrite(succs, 'succnodes', '%s ',
fm.formatlist(map(hex, succs), name='node'))
To: lothiraldan, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list