##// END OF EJS Templates
sidedatacopies: directly fetch copies information from sidedata...
marmoute -
r43551:675c776f default
parent child Browse files
Show More
@@ -190,6 +190,19 b' def _revinfogetter(repo):'
190 cl = repo.changelog
190 cl = repo.changelog
191 parents = cl.parentrevs
191 parents = cl.parentrevs
192
192
193 if repo.filecopiesmode == b'changeset-sidedata':
194 changelogrevision = cl.changelogrevision
195
196 def revinfo(rev):
197 p1, p2 = parents(rev)
198 c = changelogrevision(rev)
199 p1copies = c.p1copies
200 p2copies = c.p2copies
201 removed = c.filesremoved
202 return p1, p2, p1copies, p2copies, removed
203
204 else:
205
193 def revinfo(rev):
206 def revinfo(rev):
194 p1, p2 = parents(rev)
207 p1, p2 = parents(rev)
195 ctx = repo[rev]
208 ctx = repo[rev]
General Comments 0
You need to be logged in to leave comments. Login now