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

svn rm bug

From: Vladimir Prus <ghost_at_cs.msu.su>
Date: 2002-10-30 17:23:52 CET

If I move all files from a directory somewhere and then try to remove the
directory, I get an error. Here's a script:

#!//bin/bash

cd /tmp
rm -rf svn wc

svnadmin create svn
svn co file://localhost/tmp/svn wc
cd wc
svn mkdir 1 2
cd 1
touch a
svn add a
cd ..
svn ci -m ""
cd 1
svn mv a ../2
cd ..
svn rm 1

And the output is

subversion/clients/cmdline/delete-cmd.c:47: (apr_err=195006, src_err=0)
svn: Attempting restricted operation for modified resource
svn: Use --force to override this restriction
subversion/libsvn_client/delete.c:90: (apr_err=195006, src_err=0)
svn: '1/a' has local modifications

Hmm.. 1/a is *removed*, and has no local mods.

Is this a bug?

- Volodya

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 30 17:23:54 2002

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.