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

Re: svn rm bug

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-10-30 20:39:36 CET

Vladimir Prus <ghost@cs.msu.su> writes:

> 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.

Depends what you mean by "no local mods" :) It's scheduled for
deletion and the deletion has not been committed, that's a working
copy modification.

> Is this a bug?

Perhaps, I don't know. What about this case

$ svn rm some/wc/file
D some/wc/file
$ svn rm some/wc/file
svn: Attempting restricted operation for modified resource
svn: Use --force to override this restriction

Is that a bug?

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 30 20:40:37 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.