[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-users] Create/Apply Patch

From: Mark Phippard <markphip_at_gmail.com>
Date: 2007-05-03 19:03:39 CEST

On 5/3/07, Jamie Starke <jrstarke@gmail.com> wrote:
> Hello, I'm working in a small team. We are using SVN and are using
> Subclipse aswell. I think I found a bug in the way that the create/apply
> patch works. What happens is, if I create a patch from my project, and then
> revert to a fresh version of the code, and apply the patch, it seems to
> create a directory tree in my project, with the project as the base, for
> what was the absolute address of the files from which the patch was created.
>
> For instance, if I have my project in
> /Users/s__/Development/Eclipse/(project_name), when I apply
> the patch, it shows up as creating any new files in

The Apply Patch process is owned by the Eclipse Compare component, we
do not get to insert any code into that process.

What is happening is all patches made from Subclipse contain absolute
path names. The Apply Patch wizard has a feature to handle this. You
need to use the drop-down on the final page to remove elements from
the path until all of the check boxes appear on the files and the
patch can apply.

We have an open issue with Subversion to enhance the API so we can
produce patches with relative path names.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Thu May 3 19:03:44 2007

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.