hgext/rebase.py
branchstable
changeset 45229 0ea08126a2af
parent 45151 e429e7c801b2
child 45510 1f5c548f15e5
--- a/hgext/rebase.py	Tue Jul 28 20:07:05 2020 +0200
+++ b/hgext/rebase.py	Tue Jul 28 20:47:50 2020 +0200
@@ -1442,6 +1442,10 @@
     if b'branch' in extra:
         branch = extra[b'branch']
 
+    # FIXME: We call _compact() because it's required to correctly detect
+    # changed files. This was added to fix a regression shortly before the 5.5
+    # release. A proper fix will be done in the default branch.
+    wctx._compact()
     memctx = wctx.tomemctx(
         commitmsg,
         date=date,