comparison mercurial/revlog.py @ 9437:1c4e4004f3a6

Improve some docstrings relating to changegroups and prepush().
author Greg Ward <greg-hg@gerg.ca>
date Tue, 08 Sep 2009 17:58:59 -0400
parents d0db168136dc
children a1943c2a4661
comparison
equal deleted inserted replaced
9436:96379c93ba6f 9437:1c4e4004f3a6
1126 return nullid 1126 return nullid
1127 1127
1128 return self.node(c) 1128 return self.node(c)
1129 1129
1130 def group(self, nodelist, lookup, infocollect=None): 1130 def group(self, nodelist, lookup, infocollect=None):
1131 """calculate a delta group 1131 """Calculate a delta group, yielding a sequence of changegroup chunks
1132 (strings).
1132 1133
1133 Given a list of changeset revs, return a set of deltas and 1134 Given a list of changeset revs, return a set of deltas and
1134 metadata corresponding to nodes. the first delta is 1135 metadata corresponding to nodes. the first delta is
1135 parent(nodes[0]) -> nodes[0] the receiver is guaranteed to 1136 parent(nodes[0]) -> nodes[0] the receiver is guaranteed to
1136 have this parent as it has all history before these 1137 have this parent as it has all history before these