Show More
@@ -421,7 +421,7 b' class revlog(object):' | |||||
421 | A revlog consists of two parts, an index and the revision data. |
|
421 | A revlog consists of two parts, an index and the revision data. | |
422 |
|
422 | |||
423 | The index is a file with a fixed record size containing |
|
423 | The index is a file with a fixed record size containing | |
424 |
information on each revision, including |
|
424 | information on each revision, including its nodeid (hash), the | |
425 | nodeids of its parents, the position and offset of its data within |
|
425 | nodeids of its parents, the position and offset of its data within | |
426 | the data file, and the revision it's based on. Finally, each entry |
|
426 | the data file, and the revision it's based on. Finally, each entry | |
427 | contains a linkrev entry that can serve as a pointer to external |
|
427 | contains a linkrev entry that can serve as a pointer to external | |
@@ -942,7 +942,7 b' class revlog(object):' | |||||
942 | self.revision(self.node(rev2))) |
|
942 | self.revision(self.node(rev2))) | |
943 |
|
943 | |||
944 | def revision(self, node): |
|
944 | def revision(self, node): | |
945 | """return an uncompressed revision of a given""" |
|
945 | """return an uncompressed revision of a given node""" | |
946 | if node == nullid: |
|
946 | if node == nullid: | |
947 | return "" |
|
947 | return "" | |
948 | if self._cache and self._cache[0] == node: |
|
948 | if self._cache and self._cache[0] == node: |
General Comments 0
You need to be logged in to leave comments.
Login now