diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py index 3f93eff1de579425561dab22e10d8c0cb5346bda_bWVyY3VyaWFsL2NtZHV0aWwucHk=..525cde5d954d689d3f5807a777ce1a7914917ec2_bWVyY3VyaWFsL2NtZHV0aWwucHk= 100644 --- a/mercurial/cmdutil.py +++ b/mercurial/cmdutil.py @@ -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') diff --git a/mercurial/obsolete.py b/mercurial/obsolete.py index 3f93eff1de579425561dab22e10d8c0cb5346bda_bWVyY3VyaWFsL29ic29sZXRlLnB5..525cde5d954d689d3f5807a777ce1a7914917ec2_bWVyY3VyaWFsL29ic29sZXRlLnB5 100644 --- a/mercurial/obsolete.py +++ b/mercurial/obsolete.py @@ -226,6 +226,10 @@ parts = self.metadata()['date'].split(' ') return (float(parts[0]), int(parts[1])) + def flags(self): + """The flags field of the marker""" + return self._data[2] + class obsstore(object): """Store obsolete markers