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

Re: Stage 1 of true rename support.

From: Matthias Wächter <Matthias.Waechter_at_tttech.com>
Date: 2005-05-23 13:05:28 CEST

Marc Haisenko <haisenko@webport.de> wrote on 23.05.2005 10:44:06:

> Just a minor user question: consider the following "recipe":
> # svn mv foo bar
> # echo "Hello" >foo
> # svn add foo
> # svn commit
> Right now this works, the editor shows "R foo" and reports that foo is
> replaced. However, this doesn't work:
> # svn rm foo
> # svn mv bar foo
> svn: 'foo' is scheduled for deletion; it must be committed before being
> overwritten

What brings me (again) to the question of atomic multi-operations, for
example mixing local and server-side operations or aggregating multiple
server-side operations. For example, after checkout, make the following
operation(s) atomic:

svn co http://server/repos/trunk proj; cd proj

svn rm http://server/repos/trunk/lib
svn cp http://server/repos/tags/lib-1.5 http://server/repos/trunk/lib
svn rm README.oldlibs
svn cp README README.oldlibs
sed -e "s/lib-1\.4/lib-1.5/g" README
svn commit

Any thoughts about this issue/feature? I think, especially pending
server-side operations and mixing them with local commits will be a big
challenge, if it is implementable at all.

- Matthias

Das letzte Wort ist noch nicht committed
The final word is not yet committed
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon May 23 13:06:37 2005

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.