hgext/rebase.py
changeset 31440 406705701c2d
parent 31404 361bccce566a
child 31470 f255b1811f5e
--- a/hgext/rebase.py	Thu Mar 16 04:53:23 2017 +0530
+++ b/hgext/rebase.py	Wed Mar 15 15:03:43 2017 -0700
@@ -725,7 +725,8 @@
                 destspace=None):
     """use revisions argument to define destination and rebase set
     """
-    revf = revf or []
+    if revf is None:
+        revf = []
 
     # destspace is here to work around issues with `hg pull --rebase` see
     # issue5214 for details