Show More
@@ -527,15 +527,16 b' class changelog(revlog.revlog):' | |||||
527 | ``changelogrevision`` instead, as it is faster for partial object |
|
527 | ``changelogrevision`` instead, as it is faster for partial object | |
528 | access. |
|
528 | access. | |
529 | """ |
|
529 | """ | |
530 |
d |
|
530 | d = self._revisiondata(nodeorrev)[0] | |
531 | c = changelogrevision( |
|
531 | sidedata = self.sidedata(nodeorrev) | |
532 |
|
|
532 | copy_sd = self._copiesstorage == b'changeset-sidedata' | |
533 | ) |
|
533 | c = changelogrevision(self, d, sidedata, copy_sd) | |
534 | return (c.manifest, c.user, c.date, c.files, c.description, c.extra) |
|
534 | return (c.manifest, c.user, c.date, c.files, c.description, c.extra) | |
535 |
|
535 | |||
536 | def changelogrevision(self, nodeorrev): |
|
536 | def changelogrevision(self, nodeorrev): | |
537 | """Obtain a ``changelogrevision`` for a node or revision.""" |
|
537 | """Obtain a ``changelogrevision`` for a node or revision.""" | |
538 |
text |
|
538 | text = self._revisiondata(nodeorrev)[0] | |
|
539 | sidedata = self.sidedata(nodeorrev) | |||
539 | return changelogrevision( |
|
540 | return changelogrevision( | |
540 | self, text, sidedata, self._copiesstorage == b'changeset-sidedata' |
|
541 | self, text, sidedata, self._copiesstorage == b'changeset-sidedata' | |
541 | ) |
|
542 | ) |
General Comments 0
You need to be logged in to leave comments.
Login now