changeset 47428 | 54849b65dc5f |
parent 47150 | 8d3c2f9d4af7 |
child 47431 | fca9c63f160e |
--- a/mercurial/cmdutil.py Thu Jun 10 10:53:43 2021 -0700 +++ b/mercurial/cmdutil.py Thu Jun 10 14:25:16 2021 -0700 @@ -328,10 +328,10 @@ return datemaydiffer -def checknotesize(ui, opts): +def check_note_size(opts): """make sure note is of valid format""" - note = opts.get(b'note') + note = opts.get('note') if not note: return