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

Re: update corrupts wc

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Mon, 18 Oct 2010 18:29:57 +0100

Stefan Küng <tortoisesvn_at_gmail.com> writes:

> svnadmin create repo
> svn co file:///d:/repo wc
> cd wc
> mkdir test
> mkdir test\test
> mkdir test\test\test
> svn add test
> svn ci . -m "adding folders"
> svn rm test\test\test
> svn ci . -m "removing folder"
> svn rm test\test
> svn ci . -m "removing folder"

Only two levels of directories are required:

svnadmin create repo
svn mkdir --parents -mm file://`pwd`/repo/A/B
svn co file://`pwd`/repo wc
svn rm wc/A/B
svn ci -mm wc
svn rm wc/A

The first commit leaves A/B,not-present,op_depth=0 and that's correct.
The second delete converts that to op_depth=2. That's wrong (I
think). The A/B,not-present,op_depth=0 node should continue to exist,
but perhaps we need an op_depth=2 node as well?

-- 
Philip
Received on 2010-10-18 19:30:40 CEST

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.