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

Re: svn cp a b; svn cp b c; svn ci

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-08-05 23:48:45 CEST

mark benedetto king <bking@inquira.com> writes:
> Why do we disallow the following sequences?
>
> $ svn cp a b
> $ svn cp b c
> $ svn ci

Because one might commit *just* c without committing b, in which case
c will have copy history referring to something that does not exist in
the repository.

To prevent this, we just disallow copies of copies in the first place,
so we don't have to detect it at commit time.

> $ svn mv a b
> $ svn mv b c
> $ svn ci

I think in this case, we decided that the copy history would just
travel along with the object. There's an open issue about it; I don't
remember which one, but it shouldn't be hard to find in the tracker.

(The only reason it doesn't work right now is over-eager protection
from the first case.)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 6 00:04:14 2002

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.