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

Re: [Subclipse-users] Patch uses absolute paths

From: Mark Phippard <markp_at_softlanding.com>
Date: 2006-05-08 22:01:50 CEST

Bradley Wagner <bradley.wagner@hannonhill.com> wrote on 05/08/2006
03:55:31 PM:

> >
> > I spend a lot of time working with patches and I have never had a
problem
> > like the one you describe. I usually am using 3.0.x or 3.1.x of
Eclipse.
> Ah, good call. I'm testing this out on Eclipse 3.2RC3, so perhaps their
> implementation of Apply Patch has changed -- just a heads up. I'll
> switch back to Eclipse 3.1.2 and patch with that.
>
> As always thanks Mark,

I remember reading that there is supposed to be some great new patch
feature in the recent 3.2, so I suspect you are right. I have not looked
at it yet. Maybe you should open a bug report as it could be a regression
from the new changes they have made. I do not believe there is anything
about the Unified diff format that says the paths cannot be absolute. I
took a look at our code a few weeks ago and made some changes to try to
get the paths to be relative. Nothing I did made a difference. I am
working from memory, but I think the Subversion code outputs the paths
relative to the current working directory, and switches to absolute if the
paths are not related. The working directory is the one used to start
Eclipse. Java does not include code that lets you manipulate the working
directory so I did not see a way to fix it.

Mark

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Mon May 8 22:02:17 2006

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.