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

Re: svn diff doesn't include repository path of changed files

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2003-08-19 01:12:49 CEST

David Sitsky wrote:

>>I think you missed a step in the question, didn't you, Ben? The
>>problem statement included cd'ing down somewhere into the project;
>>the diffs are reported relative to "."; the request is that they
>>(also) be identified relative to the repository root:
>
> [...]
>
>>Index: index.html # no repository root here
>>===================================================================
>>--- index.html (revision 2) # not here, too
>>+++ index.html (working copy)
>>@@ -6,3 +6,4 @@
>> This is new project content.
>> </body>
>> </html>
>>+Mon Aug 18 09:44:26 PDT 2003
>
>
> Yep - this is the problem I am referring to. Is there any reason why the
> Index field could contain the repository path?

Yes, because when you cd into the subdirectory, your svn process now has
no idea that there are more working copy directories above it in the
hierarchy. If you want the whole path, run it from the base directory
in the working copy.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 19 01:14:10 2003

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

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