##// END OF EJS Templates
sidedata: simply read p2copies files from the `ChangingFiles` object
marmoute -
r46149:147fb889 default
parent child Browse files
Show More
@@ -27,8 +27,6 b' from .utils import ('
27 27 stringutil,
28 28 )
29 29
30 from .revlogutils import sidedata as sidedatamod
31
32 30 _defaultextra = {b'branch': b'default'}
33 31
34 32
@@ -360,9 +358,7 b' class changelogrevision(object):'
360 358 @property
361 359 def p2copies(self):
362 360 if self._cpsd:
363 rawcopies = self._sidedata.get(sidedatamod.SD_P2COPIES)
364 if not rawcopies:
365 return {}
361 return self.changes.copied_from_p2
366 362 else:
367 363 rawcopies = self.extra.get(b'p2copies')
368 364 if rawcopies is None:
General Comments 0
You need to be logged in to leave comments. Login now