mercurial/copies.py
changeset 43146 0171483b082f
parent 43117 8ff1ecfadcd1
child 43147 54e943b28101
--- a/mercurial/copies.py	Thu Oct 10 00:06:41 2019 +0200
+++ b/mercurial/copies.py	Wed Oct 09 22:59:38 2019 +0200
@@ -188,6 +188,8 @@
 
 def usechangesetcentricalgo(repo):
     """Checks if we should use changeset-centric copy algorithms"""
+    if repo.filecopiesmode == b'changeset-sidedata':
+        return True
     readfrom = repo.ui.config(b'experimental', b'copies.read-from')
     changesetsource = (b'changeset-only', b'compatibility')
     return readfrom in changesetsource