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

Re: What do you Hate about Subversion?

From: Daniele P. <daniele_at_interline.it>
Date: 2007-01-29 00:03:34 CET

On Sunday 28 January 2007 22:06, Ryan Schmidt wrote:
> Some operations, like commits, are atomic. If any part of the commit
> fails, the entire commit fails. This is good.
>
> Other operations, like updates, are not atomic. If the update fails
> part of the way through -- for example because of temporary network
> problems -- part of the working copy is updated, and part of it is
> not. This is not ideal, but in many circumstances is not a big deal:
> just run the update again.

This remember me what I don't really like about Subversion:

$ svn rm a
D a
$ svn cp b a
svn: 'a' is scheduled for deletion; it must be committed before it can be
overwritten

Sometimes you have to split "one logical operation" in "two different
commits".

$ svn ci -m 'Staring the replacement of a with b. The replace will be
completed (hopefully) in next commit.'
Deleting test/a

Committed revision 3.
$ svn cp b a
A a
$ svn ci -m 'Ending the replacemet of a with b. The replace was stared at
revision 3.'
Adding test/a
Committed revision 4.

Regards,
Daniele P.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jan 29 00:04:27 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.