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

[BUG] Problems with deleting switched subdirectories

From: makl <makl_at_tigris.org>
Date: 2004-04-02 10:51:36 CEST

$ svn --version
svn, version 1.0.1 (dev build)
    compiled Mar 25 2004, 16:25:21
[...]

$ svnadmin create --bdb-txn-nosync repo
$ svn co file:///g:/repos/repo wc1
$ mkdir wc1\dir1
$ mkdir wc1\dir1\dir2
$ mkdir wc1\dir3
$ svn add wc1/dir1 wc1/dir3
$ svn ci -m "" wc1
$ svn switch file:///g:/repos/repo/dir3 wc1/dir1/dir2
$ svn delete wc1/dir1

A non-recursive commit of both directories work as expected:

$ svn ci -m "" -N wc1/dir1 wc1/dir1/dir2
Deleting wc1\dir1
Deleting wc1\dir1\dir2

Committed revision 2.

$ svn up wc1
D wc1\dir3
Updated to revision 2.

A commit of dir2 fails post-commit:

$ svn ci -m "" wc1/dir1/dir2
svn: Commit succeeded, but other errors follow:
svn: Error bumping revisions post-commit (details follow):
svn: Working copy 'G:/repos/wc1/dir1' not locked
Deleting wc1\dir1\dir2

A commit of dir1 doesn't delete dir3

$ svn ci -m "" wc1/dir1 2>&1
Deleting wc1\dir1

Committed revision 2.

$ svn up wc1
At revision 2.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 2 10:49:44 2004

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.