Show More
@@ -113,7 +113,7 b' Create an extension to test bundle2 API' | |||||
113 | > headmissing = [c.node() for c in repo.set('heads(%ld)', revs)] |
|
113 | > headmissing = [c.node() for c in repo.set('heads(%ld)', revs)] | |
114 | > headcommon = [c.node() for c in repo.set('parents(%ld) - %ld', revs, revs)] |
|
114 | > headcommon = [c.node() for c in repo.set('parents(%ld) - %ld', revs, revs)] | |
115 | > outgoing = discovery.outgoing(repo, headcommon, headmissing) |
|
115 | > outgoing = discovery.outgoing(repo, headcommon, headmissing) | |
116 |
> cg = changegroup.get |
|
116 | > cg = changegroup.getchangegroup(repo, 'test:bundle2', outgoing) | |
117 | > bundler.newpart('changegroup', data=cg.getchunks(), |
|
117 | > bundler.newpart('changegroup', data=cg.getchunks(), | |
118 | > mandatory=False) |
|
118 | > mandatory=False) | |
119 | > |
|
119 | > |
General Comments 0
You need to be logged in to leave comments.
Login now