equal
deleted
inserted
replaced
1148 parent(nodes[0]) -> nodes[0] the receiver is guaranteed to |
1148 parent(nodes[0]) -> nodes[0] the receiver is guaranteed to |
1149 have this parent as it has all history before these |
1149 have this parent as it has all history before these |
1150 changesets. parent is parent[0] |
1150 changesets. parent is parent[0] |
1151 """ |
1151 """ |
1152 |
1152 |
|
1153 revs = [self.rev(n) for n in nodelist] |
|
1154 |
1153 # if we don't have any revisions touched by these changesets, bail |
1155 # if we don't have any revisions touched by these changesets, bail |
1154 if not nodelist: |
1156 if not revs: |
1155 yield changegroup.closechunk() |
1157 yield changegroup.closechunk() |
1156 return |
1158 return |
1157 |
|
1158 revs = [self.rev(n) for n in nodelist] |
|
1159 |
1159 |
1160 # add the parent of the first rev |
1160 # add the parent of the first rev |
1161 p = self.parentrevs(revs[0])[0] |
1161 p = self.parentrevs(revs[0])[0] |
1162 revs.insert(0, p) |
1162 revs.insert(0, p) |
1163 |
1163 |