##// END OF EJS Templates
transplant: use peer of source repository as "remote" for "repo.pull()"...
transplant: use peer of source repository as "remote" for "repo.pull()" Before this patch, transplant with "--merge" option fails with traceback unexpectedly, if it causes pull from the source repository on the local host. "discovery.findcommonincoming()" invokes "capable()" method on the object given from "localrepository.pull()", but it is "localrepository" object in this case and doesn't have such method. This patch uses peer object of source repository as "remote" argument for "localrepository.pull()" invocation like other invocations of it in transplant.py.

File last commit:

r10838:07dbafd3 stable
r20020:6fb59247 default
Show More
test-status-inprocess.py.out
5 lines | 62 B | text/plain | TextLexer
/ tests / test-status-inprocess.py.out
% creating repo
% add and commit
C test.py
% change
M test.py