Mercurial > hg
comparison mercurial/revlog.py @ 13785:470ec600b525
changegroup: add revlog to the group callback
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 28 Mar 2011 11:18:56 -0500 |
parents | f1e639c71a2b |
children | d69c9510d648 |
comparison
equal
deleted
inserted
replaced
13784:f1e639c71a2b | 13785:470ec600b525 |
---|---|
1085 for r in xrange(len(revs) - 1): | 1085 for r in xrange(len(revs) - 1): |
1086 a, b = revs[r], revs[r + 1] | 1086 a, b = revs[r], revs[r + 1] |
1087 nb = self.node(b) | 1087 nb = self.node(b) |
1088 | 1088 |
1089 p = self.parents(nb) | 1089 p = self.parents(nb) |
1090 meta = nb + p[0] + p[1] + lookup(nb) | 1090 meta = nb + p[0] + p[1] + lookup(self, nb) |
1091 if a == nullrev: | 1091 if a == nullrev: |
1092 d = self.revision(nb) | 1092 d = self.revision(nb) |
1093 meta += mdiff.trivialdiffheader(len(d)) | 1093 meta += mdiff.trivialdiffheader(len(d)) |
1094 else: | 1094 else: |
1095 d = self.revdiff(a, b) | 1095 d = self.revdiff(a, b) |