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

improve error msg for locked deleted files in TSVN

From: Bernhard Merkle <bernhard.merkle_at_googlemail.com>
Date: Wed, 8 Apr 2009 08:03:42 -0700 (PDT)

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.

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

Can you please report the real cause of the error also in TSVN ? (like
in svn command line) There msg 423 Locked is catched...

thanks very much,
and kind regards,
Bernhard.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=1597866

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-04-08 17:15:54 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.