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

Re: Absolute path in patch file

From: Chris Eldredge <chriseldredge_at_comcast.net>
Date: 2005-03-21 16:31:57 CET

This seems like mostly a matter of convenience. In the apply patch dialog, it is trivial to set
the "Ignore leading path segments" option to strip off the directory up to the working copy
directory.

It would be ideal IMO to generate the patch relative to the sandbox, but if that is not possible,
at least there is no real loss of functionality.

Chris.

> I took a look at that issue that Create Patch creates a diff file with
> absolute path names. It appears that we do run svn diff to create the
> patch, only the apply patch comes from Eclipse. The issue is that svn
> diff outputs absolute paths in the output if you provide it an absolute
> path name. In other words, this command would output absolute path names:
>
> svn diff C:\workspace\project > d.patch
>
> There is no way that Subclipse can use relative path names when we run
> Subversion API's, so I do not think there is anything that we can do about
> this.
>
> Mark
>
>
>
> _____________________________________________________________________________
> Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by
> MessageLabs.
> _____________________________________________________________________________
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subclipse.tigris.org
> For additional commands, e-mail: dev-help@subclipse.tigris.org
>
>
Received on Tue Mar 22 02:31:57 2005

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