hgext/rebase.py
changeset 43591 b56c6647f65e
parent 43567 0fea03924990
child 43787 be8552f25cab
--- a/hgext/rebase.py	Fri Oct 18 23:18:47 2019 -0700
+++ b/hgext/rebase.py	Wed Nov 06 18:28:11 2019 -0800
@@ -1274,8 +1274,8 @@
     if revf and srcf:
         raise error.Abort(_(b'cannot specify both a revision and a source'))
 
+    cmdutil.checkunfinished(repo)
     if not inmemory:
-        cmdutil.checkunfinished(repo)
         cmdutil.bailifchanged(repo)
 
     if ui.configbool(b'commands', b'rebase.requiredest') and not destf: