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

Unable to commit after removing added folder

From: François Beausoleil <fbeausoleil_at_ftml.net>
Date: 2005-04-28 20:26:38 CEST

Hi !

If I add a folder, and then I remove the folder by mistake (using the
OS' tools), then the WC cannot be recovered, short of playing with the
.svn/ area.

Here's a Win32 repro recipe:

rd /s/q repos wc
cls
svn --version
svnadmin create --fs-type=fsfs repos
svn co file:///repos wc
cd wc
md dira dirb
svn add dira dirb
rd /s/q dirb
svn status
svn update
md dirb
svn update
svn commit
svn status

And here's a sample run, on WinXP SP2 (fr-CA):

$ svn --version
svn, version 1.2.0 (Release Candidate 2)
    compiled Apr 22 2005, 08:25:36

$ svnadmin create --fs-type=fsfs repos

$ svn co file:///repos wc
Checked out revision 0.

$ cd wc

$ md dira dirb

$ svn add dira dirb
A dira
A dirb

$ rd /s/q dirb

$ svn status
A dira
! dirb

$ svn update
At revision 0.

$ md dirb

$ svn update
At revision 0.

$ svn commit
svn: Commit failed (details follow):
svn: Working copy 'D:\wc\dirb' is missing or not locked

$ svn status
A dira
~ dirb

To me, that looks like a bug. Maybe someone else has another opinion ?

Thanks !
François

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 28 20:57:47 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.