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

Re: [bug] Inconsistent path output from 'svn mkdir --parents'

From: Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>
Date: 2007-05-31 21:40:55 CEST

Daniel Rall wrote:
> On Fri, 25 May 2007, Daniel L. Rall wrote:
>
>> In a complete empty WC (corresponding to an empty repos), try the
>> following:
>>
>> $ svn mkdir --parents branches/foo/bar
>> A /tmp/wc/branches
>> A /tmp/wc/branches/foo
>> A branches/foo/bar
>>
>> Note how the first two paths in the ouput are absolute, while the
>> final path is relative.
>
> I'm guessing that this is because we get the absolute path of the
> parent directories as we walk towards the leaf directory of our WC or
> repository. Has anyone looked at this one yet?

Dan,
Your guess is correct. I've looked at it, just haven't had time to do
anything about it yet. Do we have any way of recovering a relative
pathname from an absolute pathname?

-Hyrum

Received on Thu May 31 21:41:12 2007

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

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