hgext/rebase.py
changeset 35434 71446ca85813
parent 35410 83014fa95435
child 35480 01b084914a60
--- a/hgext/rebase.py	Mon Dec 11 17:02:02 2017 -0800
+++ b/hgext/rebase.py	Wed Dec 13 10:29:22 2017 -0800
@@ -390,6 +390,9 @@
         else:
             self.wctx = self.repo[None]
             self.repo.ui.debug("rebasing on disk\n")
+        self.repo.ui.log("rebase", "", {
+            'rebase_imm_used': self.wctx.isinmemory()
+        })
 
     def _performrebase(self, tr):
         self._assignworkingcopy()
@@ -957,6 +960,7 @@
     # stacks that include the WCP. However, I'm not yet sure where the cutoff
     # is.
     rebasingwcp = repo['.'].rev() in rebaseset
+    ui.log("rebase", "", {'rebase_rebasing_wcp': rebasingwcp})
     if rbsrt.inmemory and rebasingwcp:
         rbsrt.inmemory = False
         # Check these since we did not before.