equal
deleted
inserted
replaced
160 mb = b.manifest() |
160 mb = b.manifest() |
161 return mb.filesnotin(ma, match=match) |
161 return mb.filesnotin(ma, match=match) |
162 |
162 |
163 def usechangesetcentricalgo(repo): |
163 def usechangesetcentricalgo(repo): |
164 """Checks if we should use changeset-centric copy algorithms""" |
164 """Checks if we should use changeset-centric copy algorithms""" |
165 return (repo.ui.config('experimental', 'copies.read-from') == |
165 return (repo.ui.config('experimental', 'copies.read-from') in |
166 'compatibility') |
166 ('changeset-only', 'compatibility')) |
167 |
167 |
168 def _committedforwardcopies(a, b, match): |
168 def _committedforwardcopies(a, b, match): |
169 """Like _forwardcopies(), but b.rev() cannot be None (working copy)""" |
169 """Like _forwardcopies(), but b.rev() cannot be None (working copy)""" |
170 # files might have to be traced back to the fctx parent of the last |
170 # files might have to be traced back to the fctx parent of the last |
171 # one-side-only changeset, but not further back than that |
171 # one-side-only changeset, but not further back than that |