hgext/histedit.py
changeset 43995 801b8d314791
parent 43933 bde97bee321f
child 44212 cb8b67016110
child 44402 9b8e13a038db
equal deleted inserted replaced
43994:de7838053207 43995:801b8d314791
   306         a = actiontable[v]
   306         a = actiontable[v]
   307         lines = a.message.split(b"\n")
   307         lines = a.message.split(b"\n")
   308         if len(a.verbs):
   308         if len(a.verbs):
   309             v = b', '.join(sorted(a.verbs, key=lambda v: len(v)))
   309             v = b', '.join(sorted(a.verbs, key=lambda v: len(v)))
   310         actions.append(b" %s = %s" % (v, lines[0]))
   310         actions.append(b" %s = %s" % (v, lines[0]))
   311         actions.extend([b'  %s' for l in lines[1:]])
   311         actions.extend([b'  %s'] * (len(lines) - 1))
   312 
   312 
   313     for v in (
   313     for v in (
   314         sorted(primaryactions)
   314         sorted(primaryactions)
   315         + sorted(secondaryactions)
   315         + sorted(secondaryactions)
   316         + sorted(tertiaryactions)
   316         + sorted(tertiaryactions)