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

Re: Bug: lockup after adding binaries from samba

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Tue, 05 Aug 2008 17:51:27 +0200

Joachim Lous wrote:
> TortoiseSVN 1.5.2. Issue present since at least 1.5
> SVN server running 1.4.2, http access.
>
> I have a working copy on a samba share (bear with me),
> which although discouraged has been working fine for me.
> After recent upgrading to 1.5.x of TSVN, I run into problems
> every time I try to add binary files.
>
> In the example below "T:" is the mounted samba share, and
> i have just successfully added (but not committed) both the
> text file "test.txt" and the image file "test.png".
>
> When committing, I get this log in the commit window:
> Command: Commit
> Adding: T:\portal2\trunk\notes\test.png application/octet-stream
> Adding: T:\portal2\trunk\notes\test.txt
> Sending content: T:\portal2\trunk\notes\test.png
> Sending content: T:\portal2\trunk\notes\test.txt
> Error: Commit succeeded, but other errors follow:
> Error: Error bumping revisions post-commit (details follow):
> Error: In directory 'T:\portal2\trunk\notes'
> Error: Error processing command 'committed' in 'T:\portal2\trunk\notes'
> Error: Can't move
> 'T:\portal2\trunk\notes\.svn\props\test.png.svn-work' to
> Error: 'T:\portal2\trunk\notes\.svn\prop-base\test.png.svn-base':
> Access is denied.
> Finished!:
>
> This does not happen if the commit contains no new binary files.
> Nor on local working dirs.
>
> After the error the containing dir is locked, and cleanup reliably
> fails. The only sound workaround I've found is to locally delete the
> entire containing dir of the offending file, and then update its
> parent dir to restore it all (the commit itself did after all succeed).
>
> I know working dirs on network drives are discouraged, but since
> this used to work fine, and still does for non-binary files, It does
> seem to be a genuine bug in TSVN.

Wrong assumption:
* the error is thrown by the svn library
* it works ok for local working copies and even windows network shares
   --> svn does nothing 'illegal' when performing the file operations
   --> it only does not work with SAMBA shares
   --> what does that tell you where the bug really is?

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

Received on 2008-08-05 17:51:49 CEST

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

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