Show More
@@ -7,8 +7,8 b'' | |||
|
7 | 7 | |
|
8 | 8 | from mercurial.i18n import _ |
|
9 | 9 | import os, tempfile |
|
10 |
from mercurial import bundlerepo, cmdutil, commands, hg, merge |
|
|
11 | from mercurial import util | |
|
10 | from mercurial import bundlerepo, changegroup, cmdutil, commands, hg, merge | |
|
11 | from mercurial import patch, revlog, util | |
|
12 | 12 | |
|
13 | 13 | '''patch transplanting tool |
|
14 | 14 | |
@@ -473,7 +473,7 b' def transplant(ui, repo, *revs, **opts):' | |||
|
473 | 473 | bundle = None |
|
474 | 474 | if not source.local(): |
|
475 | 475 | cg = source.changegroup(incoming, 'incoming') |
|
476 |
bundle = c |
|
|
476 | bundle = changegroup.writebundle(cg, None, 'HG10UN') | |
|
477 | 477 | source = bundlerepo.bundlerepository(ui, repo.root, bundle) |
|
478 | 478 | |
|
479 | 479 | return (source, incoming, bundle) |
General Comments 0
You need to be logged in to leave comments.
Login now