[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: Bernhard Merkle <bernhard.merkle_at_googlemail.com>
Date: Thu, 9 Apr 2009 10:59:38 -0700 (PDT)

On Apr 8, 5:20 pm, Stefan Küng <tortoise..._at_gmail.com> wrote:
> > 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?

It is added but I can not commit. The error is raised during commit.

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

right, Sorry I was not explicit in the problem description. The add
works fine.
During commit I get different error msgs with TSVN and SVN command
line.
I tested with TSVN 1.5.9 and svn 1.5.5 commandline.

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

I tried this with the versions above and got different results. Are
you really sure. ?
I will update my SVN commandline version
In my test the TSVN msg was not the 423 Locked msg (which indicates
the real reason)
TSVN just said, file is already there (though it is NOT there). It is
deleted but locked in the repo.

thanks,
Bernhard.

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

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