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

Re: Intro and questions

From: <peter.westlake_at_arm.com>
Date: 2001-08-03 21:44:21 CEST

On 2001-08-03 18:17:02 kfogel wrote:
>Yoshiki Hayashi <yoshiki@xemacs.org> writes:
>> <peter.westlake@arm.com> writes:
>> > I think we may be talking at cross-purposes. What I mean is that
>> > if we have two programs foo and bar that both use a library lib,
>> > and I check out foo, giving me:
>> >
>> > foo/foo.c
>> > foo/lib/lib.c
>> >
>> > and I edit foo/lib/lib.c and check it in,
>> > you should then be able to check out bar and get
>> >
>> > bar/bar.c
>> > bar/lib/lib.c
>> >
>> > with my changes to lib.c. I haven't seen anything in the
>> > Subversion documentation to suggest that this can be done.
>>
>> If this is the goal, I think this can be implemented easily
>> by adding 'link' node kind to subversion filesystem. It's
>> like symoblic link in fs. Subversion already has copy node
>> to do cheap copy. To retrieve contents, copy nodes and link
>> nodes work exactly the same way. It will behave as if its
>> node is the linked one. The only difference is commiting
>> the change. Commiting to copied node won't touch linked
>> node. The ordinary node will be created for its place. If
>> you commit to link node, link node won't be changed. The
>> linked node will be changed and link node will continue to
>> point to the same path.
...
>Glad to see you back, Yoshiki! Hope grad school isn't eating all your
>time...
>
>Yes, the system you describe is exactly along the lines of what we
>have been thinking, though it's good to have your concrete
>description.
>
>A couple of things, to avoid confusion:
>
> 1. The fs doesn't have copy nodes, now. See the description in
> subversion/libsvn_fs/structure for how copies were implemented
> -- basically, there's a non-historical property on a node
> revision saying what that noderev was copied from.

There I was, perusing the source, and I came across mention of
"copy nodes" in dag.h, and wondered what it was. Newbie question:
what's all that "copy history" stuff about, anyway? It doesn't
seem to be mentioned in the Design document, and "structure"
mentions it but doesn't say what it's for.

Peter.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:35 2006

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.