##// 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 if not self._delayed:
507 if not self._delayed:
508 revlog.revlog._enforceinlinesize(self, tr, fp)
508 revlog.revlog._enforceinlinesize(self, tr, fp)
509
509
510 def read(self, node):
510 def read(self, nodeorrev):
511 """Obtain data from a parsed changelog revision.
511 """Obtain data from a parsed changelog revision.
512
512
513 Returns a 6-tuple of:
513 Returns a 6-tuple of:
@@ -523,7 +523,7 b' class changelog(revlog.revlog):'
523 ``changelogrevision`` instead, as it is faster for partial object
523 ``changelogrevision`` instead, as it is faster for partial object
524 access.
524 access.
525 """
525 """
526 d, s = self._revisiondata(node)
526 d, s = self._revisiondata(nodeorrev)
527 c = changelogrevision(
527 c = changelogrevision(
528 d, s, self._copiesstorage == b'changeset-sidedata'
528 d, s, self._copiesstorage == b'changeset-sidedata'
529 )
529 )
@@ -536,11 +536,11 b' class changelog(revlog.revlog):'
536 text, sidedata, self._copiesstorage == b'changeset-sidedata'
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 short version of read that only returns the files modified by the cset
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 if not text:
544 if not text:
545 return []
545 return []
546 last = text.index(b"\n\n")
546 last = text.index(b"\n\n")
General Comments 0
You need to be logged in to leave comments. Login now