Mercurial > public > mercurial-scm > hg-stable
diff mercurial/debugcommands.py @ 38251:ead71b15efd5
merge with stable
author | Augie Fackler <augie@google.com> |
---|---|
date | Wed, 06 Jun 2018 13:31:24 -0400 |
parents | cc9aa88792fe d618558e4e8b |
children | f3033692ccef |
line wrap: on
line diff
--- a/mercurial/debugcommands.py Sat May 26 03:01:14 2018 +0530 +++ b/mercurial/debugcommands.py Wed Jun 06 13:31:24 2018 -0400 @@ -351,7 +351,8 @@ for part in gen.iterparts(): if parttypes and part.type not in parttypes: continue - ui.write('%s -- %s\n' % (part.type, _quasirepr(part.params))) + msg = '%s -- %s (mandatory: %r)\n' + ui.write((msg % (part.type, _quasirepr(part.params), part.mandatory))) if part.type == 'changegroup': version = part.params.get('version', '01') cg = changegroup.getunbundler(version, part, 'UN')