[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 Patch... produces patches with absolute paths

From: Rob Oxspring <roxspring_at_imapmail.org>
Date: 2006-04-04 20:15:08 CEST

Mark Phippard wrote:
> Rob Oxspring <roxspring@imapmail.org> wrote on 04/04/2006 01:41:01 PM:
>
>> When creating patches using subclipse, the patch contains the absolute
>> paths to the files involved. This doesn't match the CVS patches
>> produced by eclipse or the output of svn diff.
>>
>> Ideally these could be stripped back while patching but eclipse's UI
>> doesn't look encouraging (the drive letter doesn't get stripped off) so
>> I suspect this'll cause a problem when applying patches onto a different
>
>> drive.
>>
>> This all smells of a subclipse bug to me (in addition to eclipse's path
>> stripping behaviour bug).
>
> The patch is produced by svn diff. It is what it produces if you give it
> a full path such as:
>
> svn diff C:\workspace\Project1 > patch.txt

Is there no way that javahl can be told to do the following instead?
   C:\workspace\Project1>svn diff > patch.txt

Because that's what myself and colleagues are expecting, and I'm pretty
sure is the closest analogue to what a command line user would do.
Certainly when dealing with the CVS team support I rarely had to use the
"ignore leading path components" but it looks like subclipse will force
me to use it for every application.

>
> The Eclipse Apply Patch process handles this all just fine.

Yeah, turns out its just he UI that makes a mess of things. So it's not
so bad after all.

Rob
>
> 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
Received on Tue Apr 4 20:19:24 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.