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

Re: Subversion != your filesystem (was mv != (cp && rm))

From: Florin Iucha <florin_at_iucha.net>
Date: 2001-11-28 16:26:41 CET

On Wed, Nov 28, 2001 at 03:55:05AM +0100, Branko Čibej wrote:
> Once we implement "svn ln" (which means a third kind of node, a
> "reference", will appear in the filesystem), we'll have to be careful to
> preserve the semantics of reference nodes within a copy. But that's
> trivial -- reference nodes will behave exactly like C pointers: a copy
> creates a new node, but its value (the node it refers to) remains the same.

What will happen if I link A to B and then
   1. cp B C && rm B
   2. mv B C

You can argue that in both cases A will link to C but, then what happens
when
   cp B C && change C && cp B D && change D && rm B && commit
where does A point to now?

florin

-- 
"If it's not broken, let's fix it till it is."
41A9 2BDE 8E11 F1C5 87A6  03EE 34B3 E075 3B90 DFE4

  • application/pgp-signature attachment: stored
Received on Sat Oct 21 14:36:49 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.