##// END OF EJS Templates
changelog: rename parameters to reflect semantics...
Joerg Sonnenberger -
r47376:230f7301 default
parent child Browse files
Show More
@@ -507,7 +507,7 b' class changelog(revlog.revlog):'
507 507 if not self._delayed:
508 508 revlog.revlog._enforceinlinesize(self, tr, fp)
509 509
510 def read(self, node):
510 def read(self, nodeorrev):
511 511 """Obtain data from a parsed changelog revision.
512 512
513 513 Returns a 6-tuple of:
@@ -523,7 +523,7 b' class changelog(revlog.revlog):'
523 523 ``changelogrevision`` instead, as it is faster for partial object
524 524 access.
525 525 """
526 d, s = self._revisiondata(node)
526 d, s = self._revisiondata(nodeorrev)
527 527 c = changelogrevision(
528 528 d, s, self._copiesstorage == b'changeset-sidedata'
529 529 )
@@ -536,11 +536,11 b' class changelog(revlog.revlog):'
536 536 text, sidedata, self._copiesstorage == b'changeset-sidedata'
537 537 )
538 538
539 def readfiles(self, node):
539 def readfiles(self, nodeorrev):
540 540 """
541 541 short version of read that only returns the files modified by the cset
542 542 """
543 text = self.revision(node)
543 text = self.revision(nodeorrev)
544 544 if not text:
545 545 return []
546 546 last = text.index(b"\n\n")
General Comments 0
You need to be logged in to leave comments. Login now