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

Re: improve error msg for locked deleted files in TSVN

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Wed, 08 Apr 2009 17:20:06 +0200

Bernhard Merkle wrote:
> Hi
>
> in svn it is possible to delete files which still have a lock on them.
> Now if the user tries to add the file again it fails, because of the
> lock.
> So far so good (or bad ;-)
>
> When adding the file again i get a confusing error msg in TSVN:
> file ... already exists in path....
> This does not state the _real_ cause of the failure and leads to
> confusion.

But the file is still added?

>
> When adding the file via svn on the command line I get a much better
> error msg:
> C:\_test\Debug_VB\bin\Debug>svn commit -m "added"

Committing is not adding.

> Adding (bin) Debug/Debug_VB.exe
> Transmitting file data .svn: Commit failed (details follow):
> svn: Server sent unexpected return value (423 Locked) in response to
> PUT request for '/svn//!svn/wrk/373c0d64-2449-11de-850c-
> dd224d20de38/.../Debug_VB.exe'
>
> It explicitly tells about the lock and hence the user can ask his svn
> admin to manually remove the lock on the file within the repository.

TSVN will tell you the exact same error when you commit the added files.

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=1597999
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2009-04-08 17:20:28 CEST

This is an archived mail posted to the TortoiseSVN Dev mailing list.

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