##// END OF EJS Templates
copies: expand the logic of usechangesetcentricalgo...
marmoute -
r43290:f3bcae1e default
parent child Browse files
Show More
@@ -182,8 +182,9 b' def _computeforwardmissing(a, b, match=N'
182
182
183 def usechangesetcentricalgo(repo):
183 def usechangesetcentricalgo(repo):
184 """Checks if we should use changeset-centric copy algorithms"""
184 """Checks if we should use changeset-centric copy algorithms"""
185 return (repo.ui.config('experimental', 'copies.read-from') in
185 readfrom = repo.ui.config('experimental', 'copies.read-from')
186 ('changeset-only', 'compatibility'))
186 changesetsource = ('changeset-only', 'compatibility')
187 return readfrom in changesetsource
187
188
188 def _committedforwardcopies(a, b, base, match):
189 def _committedforwardcopies(a, b, base, match):
189 """Like _forwardcopies(), but b.rev() cannot be None (working copy)"""
190 """Like _forwardcopies(), but b.rev() cannot be None (working copy)"""
General Comments 0
You need to be logged in to leave comments. Login now