Mark,
I too have been observing this behavior in 3.1.2 all of the sudden.
It seems to come up when you have new files in your patch which I did
"Team->SVN add". When trying to apply the patch, the new files are
marked with exclamation points saying that they don't currently exist
and the modified files say the same because it's trying to use the
whole absolute path relative to the project. The way to get around
this for now is to "ignore leading path name segments" for as many
directories as up to the project root. This might be only a Mac,
Linux-based Eclipse problem.
Bradley
On May 9, 2006, at 4:38 AM, Werner Guttmann wrote:
> Mark,
>
> I am actually working with Eclipse 3.1.x on a Windows XP box, and I am
> observing the same behaviour. I am a committer for the open source
> project Castor hosted at http://www.codehaus.org, and we recently
> switched from CVS to Subversion.
>
> As a result, I am not capable of creating unified patches anymore from
> within Eclipse (using Subclipse), as the patch will use absolute
> pathes
> (which is not really desirable). When using e.g. The svn command line
> client, pathc files look fine, though.
>
> Just my 0.02 cents
>
> Werner
>
>> -----Original Message-----
>> From: Mark Phippard [mailto:markp@softlanding.com]
>> Sent: Montag, 08. Mai 2006 21:49
>> To: users@subclipse.tigris.org
>> Subject: Re: [Subclipse-users] Patch uses absolute paths
>>
>> Bradley Wagner <bradley.wagner@hannonhill.com> wrote on 05/08/2006
>> 03:46:15 PM:
>>
>>> I saw some threads in the archive about this, but does Subclipse's
>>> create/apply patch use absolute paths to files? I created a
>> patch on a
>>> Mac OS X machine and tried to apply it to the same base
>> revision on a
>>> Windows machine. It didn't recognize any of the patched
>> files as they
>>> all used their absolute paths names and instead created a bunch of
>>> brand
>>
>>> new files inside the project root using the absolute paths.
>>
>> Create Patch uses svn diff and for whatever reason based on
>> the way we use it, it produces them as absolute paths in the
>> diff. Apply Patch comes from Eclipse and it handles full
>> paths as part of its wizard. It is possible that other apply
>> patch programs do not.
>>
>> 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.
>>
>> 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
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
> For additional commands, e-mail: users-help@subclipse.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Fri May 19 21:16:19 2006