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

Re: branching WC folder fails with files marked as deleted

From: Stefan Sperling <stsp_at_apache.org>
Date: Wed, 9 Jan 2013 15:19:19 +0100

On Wed, Jan 09, 2013 at 08:52:37AM -0500, Nico Kadel-Garcia wrote:
> I *do* hope that the new "svn mv" architecture will not be confused by this.
>
> svn cp A B
> svn cp A C
> scn cp A D
> svn rm A

The above sequence using cp and rm will keep working as it did before.

If you use "svn mv" you'll have to commit both sides of the move in
the same commit. Else the commit fails.

Currently it behaves like this in the trunk code (1.8-to-be):

$ svn mv alpha alpha2
A alpha2
D alpha
$ svn status
D alpha
> moved to alpha2
A + alpha2
> moved from alpha
$ svn commit -m "just one side of the move" alpha
svn: E200009: Commit failed (details follow):
svn: E200009: Cannot commit '/tmp/svn-sandbox/trunk/alpha' because it was moved to '/tmp/svn-sandbox/trunk/alpha2' which is not part of the commit; both sides of the move must be committed together
Received on 2013-01-09 15:19:59 CET

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.