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

Re: Bug: Base checksum mismatch

From: Daniel Shahaf <d.s_at_daniel.shahaf.co.il>
Date: Tue, 27 May 2008 19:40:52 +0300 (Jerusalem Daylight Time)

Ronny Voelker wrote on Tue, 27 May 2008 at 13:34 -0000:
> Hello,
>
> I posted this already on the TSVN-dev-list and Stephan asked me
> to post it on the SVN-user-list, which I did.
> Because nobody answered, I'm trying it here:
>
> when using a new TortoiseSVN1.5 against an svn-server v1.4, a Commit fails, when
> one of the modified files has the needs-lock-property set and was updated while
> requesting the lock.
>
> Receipt to reproduce the behaviour:
>
> Client: TortoiseSVN1.5.0-RC2 on WindowsXP
> Server: svn 1.4.6 (Apache or svnserver) on WindowsXP or Linux
>
> Create one repository (R) containing a file (F) with
> the property needs-lock set.
> Create two up-to-date working-copies of R (WC1,WC2).
>
> Cd to WC1.
> TSVN-Get Lock for F.
> Modify F.
> TSVN-Commit F.
>
> Cd to WC2.
> TSVN-Get Lock for F.
> TSVN: Locking failed because a newer version exits!
> Do you want to update and try again?
> Click Yes.
> View F (notice, that changes from last commit are missing).
> TSVN-Update F.
> View F again (changes from last commit are still missing).
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

I can't reproduce the highlighted bit with trunk-r31016. I did

    % svn lock f
    svn: warning: Lock failed: newer version of '/f' exists
    % svn up
    U f
    Updated to revision 2.
    % svn cat f
    (shows changes from the last commit)
    % cat f
    (shows changes from the last commit)
    % svn lock f && svn ci f
    (works)

Daniel

> Modify F.
> TSVN-Commit F.
> TSVN: Commit failed:
> Base checksum mismatch in file...
>
> Only TSVN has the update-while-getting-lock feature, so I dont know, how to
> reproduce it in SVN.
>
> Ronny
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-05-27 18:41:29 CEST

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