##// END OF EJS Templates
context: clarify the various mode in the filesremoved method...
marmoute -
r43292:15badd62 default
parent child Browse files
Show More
@@ -469,11 +469,16 b' class changectx(basectx):'
469
469
470 def filesremoved(self):
470 def filesremoved(self):
471 source = self._repo.ui.config('experimental', 'copies.read-from')
471 source = self._repo.ui.config('experimental', 'copies.read-from')
472 if (source == 'changeset-only' or
472 filesremoved = self._changeset.filesremoved
473 (source == 'compatibility' and
473 if source == 'changeset-only':
474 self._changeset.filesremoved is not None)):
474 if filesremoved is None:
475 return self._changeset.filesremoved or []
475 filesremoved = []
476 return scmutil.computechangesetfilesremoved(self)
476 elif source == 'compatibility':
477 if filesremoved is None:
478 filesremoved = scmutil.computechangesetfilesremoved(self)
479 else:
480 filesremoved = scmutil.computechangesetfilesremoved(self)
481 return filesremoved
477
482
478 @propertycache
483 @propertycache
479 def _copies(self):
484 def _copies(self):
General Comments 0
You need to be logged in to leave comments. Login now