Show More
@@ -192,13 +192,19 b' def _revinfogetter(repo):' | |||||
192 |
|
192 | |||
193 | if repo.filecopiesmode == b'changeset-sidedata': |
|
193 | if repo.filecopiesmode == b'changeset-sidedata': | |
194 | changelogrevision = cl.changelogrevision |
|
194 | changelogrevision = cl.changelogrevision | |
|
195 | flags = cl.flags | |||
195 |
|
196 | |||
196 | def revinfo(rev): |
|
197 | def revinfo(rev): | |
197 | p1, p2 = parents(rev) |
|
198 | p1, p2 = parents(rev) | |
198 | c = changelogrevision(rev) |
|
199 | if flags(rev) & REVIDX_SIDEDATA: | |
199 | p1copies = c.p1copies |
|
200 | c = changelogrevision(rev) | |
200 |
|
|
201 | p1copies = c.p1copies | |
201 | removed = c.filesremoved |
|
202 | p2copies = c.p2copies | |
|
203 | removed = c.filesremoved | |||
|
204 | else: | |||
|
205 | p1copies = {} | |||
|
206 | p2copies = {} | |||
|
207 | removed = () | |||
202 | return p1, p2, p1copies, p2copies, removed |
|
208 | return p1, p2, p1copies, p2copies, removed | |
203 |
|
209 | |||
204 | else: |
|
210 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now