Transplant with rewritten pathnames

Lars Marowsky-Bree lmb at
Wed Mar 12 06:11:14 CDT 2008

Hi there,

transplant is indeed a very useful tool.

However, for one of my projects, I have the need to rewrite pathnames -
I backport from a repository in which the directories have been moved
around. This apparently confuses transplant:

>hg transplant --filter ../ -s ../stable-0.6/ a4c3bec250fa
searching for changes
filtering /tmp/hg-transplant-KwvYSg
applying a4c3bec250fa
crmd/messages.c: No such file or directory
crmd/messages.c not tracked!
a4c3bec250fa transplanted to 0443e19ebf76

crmd/messages.c is the new name; in the repo I'm transplanting to, it's
called crm/crmd/messages.c.

I don't see anything wrong with the result. but the message worries me a
bit. Should it?


Teamlead Kernel, SuSE Labs, Research and Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde

More information about the Mercurial mailing list