Problems while applying an svn patch to a mercurial repository

Posted by user26453 on Super User See other posts from Super User or by user26453
Published on 2010-03-09T03:06:10Z Indexed on 2010/03/09 3:08 UTC
Read the original article Hit count: 353

Filed under:
|
|
|
|

Patch file is made with TopirtiseSVN -> Create Patch...

Attempting to import patch into the mercurial repository using hg import patchfile.

The problem I'm running into is that there seems to be problems with how hg looks for files referenced in the patch file:

unable to find 'gui/gui/RemoteFramework.cpp' for patching
2 out of 2 hunks FAILED -- saving rejects to file gui/gui/RemoteFramwork.cpp.rej

Seems to be an issue of where the patch was made in terms of directories and where it should be applied. Have tried playing with the --base option for hg import, but haven't gotten anywhere just yet.

Anyone have any tips?

© Super User or respective owner

Related posts about source

Related posts about subversion