equal
deleted
inserted
replaced
186 return mb.filesnotin(ma, match=match) |
186 return mb.filesnotin(ma, match=match) |
187 |
187 |
188 |
188 |
189 def usechangesetcentricalgo(repo): |
189 def usechangesetcentricalgo(repo): |
190 """Checks if we should use changeset-centric copy algorithms""" |
190 """Checks if we should use changeset-centric copy algorithms""" |
|
191 if repo.filecopiesmode == b'changeset-sidedata': |
|
192 return True |
191 readfrom = repo.ui.config(b'experimental', b'copies.read-from') |
193 readfrom = repo.ui.config(b'experimental', b'copies.read-from') |
192 changesetsource = (b'changeset-only', b'compatibility') |
194 changesetsource = (b'changeset-only', b'compatibility') |
193 return readfrom in changesetsource |
195 return readfrom in changesetsource |
194 |
196 |
195 |
197 |