The attached perl script (from the WebKit open source project) may help
you.

I've used it before to apply a patch that included file removals and
additions, and I guess a rename is pretty much a removal followed by an
addition (expect that the history is preserved). Anyway, give it a whirl
and see how you get on ...

Cheers,
Eoghan

> -----Original Message-----
> From: Soltysik, Seumas [mailto:[EMAIL PROTECTED] 
> Sent: 16 February 2007 19:06
> To: [email protected]
> Subject: Creating/Applying patch with renamed files
> 
> Hi,
> As part of the changes I have made for CXF-427, I have 
> renamed a few existing files in CXF. However, when I created 
> a patch for these changes, [svn diff > patchfile] and then 
> tried to apply the patch to a local copy of CXF, the patch 
> fails when encountering the renamed files.
> Any ideas how to deal with this situation?
> Thanks,
> Seumas
> 

Reply via email to