Mercurial > hg
diff mercurial/cmdutil.py @ 22215:525cde5d954d
obsmarker: add a `flags` method
We introduce a proper method to access the flag information.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Fri, 15 Aug 2014 09:41:30 -0700 |
parents | f1debbcd71cd |
children | 908c76e84ec5 |
line wrap: on
line diff
--- a/mercurial/cmdutil.py Fri Aug 15 14:19:15 2014 -0700 +++ b/mercurial/cmdutil.py Fri Aug 15 09:41:30 2014 -0700 @@ -1184,7 +1184,7 @@ for repl in marker.succnodes(): ui.write(' ') ui.write(hex(repl)) - ui.write(' %X ' % marker._data[2]) + ui.write(' %X ' % marker.flags()) ui.write('{%s}' % (', '.join('%r: %r' % t for t in sorted(marker.metadata().items())))) ui.write('\n')