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

Re: ancestor path / revision

From: Branko Čibej <brane_at_xbc.nu>
Date: 2000-12-19 22:22:09 CET

Karl Fogel wrote:

> Branko =?ISO-8859-2?Q?=C8ibej?= <brane@xbc.nu> writes:
>
>>> No -- you just start with the top dir's ancestry information (the
>>> path), and append to that. It works with subtress just fine.
>>
>> Yes, if you happen to know where the top dir is. :-)
>>
>> We discussed all of when we were talking about where to put working copy
>> metadata. Apart from interesting ideas, we didn't get very far ...
>
>
> ?
>
> I guess I don't see the problem. Can you give a scenario?

    $ svn checkout http://foo/bar
    A bar
    A bar/baz
    A bar/baz/bzz
    A bar/baz/bzz/a.c

    $ cd bar/baz/bzz
    $ svn copy a.c b.c

If "bar/baz/bzz" doesn't know the whole path, you have to climb up the
working copy until you find a directory that does. And that means you
can't copy a subtree of the working copy and use it somewhere else,
because it isn't self-contained.

On the other hand, I may be plain stupid and am missing something obvious.

-- 
Brane �ibej
    home:   <brane_at_xbc.nu>             http://www.xbc.nu/brane/
    work:   <branko.cibej_at_hermes.si>   http://www.hermes-softlab.com/
     ACM:   <brane_at_acm.org>            http://www.acm.org/
Received on Sat Oct 21 14:36:17 2006

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