mercurial/commands.py
changeset 48461 eaad68294904
parent 48427 38941a28406a
child 48589 a51c522c0064
--- a/mercurial/commands.py	Tue Dec 07 15:48:22 2021 -0800
+++ b/mercurial/commands.py	Tue Dec 07 15:53:55 2021 -0800
@@ -6873,9 +6873,9 @@
 
     cmdutil.check_at_most_one_arg(opts, 'rev', 'change')
     opts = pycompat.byteskwargs(opts)
-    revs = opts.get(b'rev')
-    change = opts.get(b'change')
-    terse = opts.get(b'terse')
+    revs = opts.get(b'rev', [])
+    change = opts.get(b'change', b'')
+    terse = opts.get(b'terse', _NOTTERSE)
     if terse is _NOTTERSE:
         if revs:
             terse = b''