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

Re: missing or not locked

From: Derek Beatty <Derek.Beatty_at_Sun.COM>
Date: 2006-04-19 16:30:26 CEST

On 4/17/06, Craig White <craigwhite@azapple.com> wrote:

> $ svn delete doc/app
> svn: Working copy 'doc/app' is missing or not locked

Does anyone else think it's a little non-intuitive for "svn delete"
to complain that it can't delete a file because it was already
deleted outside svn?

Two reasonable fixes appear to be:
  - as others have pointed out, give a more informative error message
suggesting 'svn revert.'
  - just go ahead and behave like "svn revert" in this case (with a
warning unless --quiet).

  Derek Beatty +1 512 401 1221
  Processor CAD, Sun Microsystems, Inc. fax: +1 512 401 1490
  Austin, Texas cell: +1 512 297 6235

NOTICE: Unencrypted email is not secure and may not be authentic. If
you have any doubts about this message please phone me to confirm.
Received on Wed Apr 19 16:33:05 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.