On Wed, 12 Apr 2017 20:31:35 -0700, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc <gregory.sz...@gmail.com> > # Date 1492054124 25200 > # Wed Apr 12 20:28:44 2017 -0700 > # Node ID 60177a9b778cb65fdefd4486ce51475a746c4cb6 > # Parent 6ce09d2cc2db6aeed0b46da1b26426798d91833c > show: fix formatting of multiple commands
Queued these, thanks. > +def _updatedocstring(): > + longest = max(map(len, showview._table.keys())) > + entries = [] > + for key in sorted(showview._table.keys()): > + entries.append(pycompat.sysstr(' %s %s' % ( > + key.ljust(longest), showview._table[key]._origdoc))) Perhaps you want a field definition list: ':%s: %s'. _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel