Mercurial > public > mercurial-scm > hg-stable
diff mercurial/cmdutil.py @ 33877:eae63a9e59da
obsmarker: precnode was renamed into prednode
Update all calls to formatter.write first arguments to remove references to
precnode and use prednode consistently everywhere.
Differential Revision: https://phab.mercurial-scm.org/D414
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Wed, 16 Aug 2017 10:26:26 +0200 |
parents | 158dddc635ff |
children | 6f6c87888b22 |
line wrap: on
line diff
--- a/mercurial/cmdutil.py Wed Aug 16 16:48:41 2017 +0200 +++ b/mercurial/cmdutil.py Wed Aug 16 10:26:26 2017 +0200 @@ -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'))