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

Re: svn: Checksum mismatch

From: Jens Seidel <jensseidel_at_users.sourceforge.net>
Date: 2006-09-05 16:18:41 CEST

Hi,

I have good news. I was able to create a small example which demonstrates
the checksum error in Version 1.4.0 (Release Candidate 5).

PS: This remembers me that the version string (or date) in --version is not
translatable. Please fix this as well.

The error message is different in 1.3.0 (r17949):
D file1
A file1
svn: Working copy path 'file1' does not exist in repository

Instead of
svn: Checksum mismatch for '.svn/text-base/file1.svn-base'; expected ...

On Mon, Sep 04, 2006 at 04:45:42PM +0200, Erik Huelsmann wrote:
> On 9/4/06, Jens Seidel <jensseidel@users.sf.net> wrote:
> >I just want to inform you that my reproducable checksum mismatch error is
> >still available in 1.4.0 (Release Candidate 5).
>
> PS: Could you describe *exactly* what your merge does, then what your
> update is supposed to do, what you expect subversion to do and what
> you're actually observing? (I already saw what you're observing, but
> not what you expect update to do: which files should be updated, which
> ones left alone, any ones removed or added?).

I attached a script which shows this error, here is the output:

+ mkdir /tmp/svn.test
+ cd /tmp/svn.test
+ svnadmin create repos
+ R=file:///tmp/svn.test/repos
+ svn co file:///tmp/svn.test/repos wc
Checked out revision 0.
+ cd wc
+ mkdir trunk
+ mkdir trunk/project
+ echo 'file 1'
+ svn add trunk
A trunk
A trunk/project
A trunk/project/file1.old
+ svn ci '-mInitial version'
Adding trunk
Adding trunk/project
Adding trunk/project/file1.old
Transmitting file data .
Committed revision 1.
+ svn move '-mCreated file1' file:///tmp/svn.test/repos/trunk/project/file1.old file:///tmp/svn.test/repos/trunk/project/file1

Committed revision 2.
+ svn copy '-mCreated branch' file:///tmp/svn.test/repos/trunk file:///tmp/svn.test/repos/branch

Committed revision 3.
+ svn move '-mMoved trunk to trunk.old' file:///tmp/svn.test/repos/trunk file:///tmp/svn.test/repos/trunk.old

Committed revision 4.
+ svn mkdir '-mCreated new trunk' file:///tmp/svn.test/repos/trunk

Committed revision 5.
+ svn copy '-mRestore old trunk' -r 1 file:///tmp/svn.test/repos/trunk/project file:///tmp/svn.test/repos/trunk/src

Committed revision 6.
+ svn up
D trunk
A trunk
A trunk/src
A trunk/src/file1.old
A trunk.old
A trunk.old/project
A trunk.old/project/file1
A branch
A branch/project
A branch/project/file1
Updated to revision 6.
+ echo 'file 1 (new)'
+ svn add trunk/src/file1
A trunk/src/file1
+ svn ci '-mAdded file1'
Adding trunk/src/file1
Transmitting file data .
Committed revision 7.
+ echo 'file 1 (new)'
+ svn ci '-mManual sync against trunk' branch/project/file1
Sending branch/project/file1
Transmitting file data .
Committed revision 8.
+ oldRev=7
+ cd branch
+ svn up -r 7
U project/file1
Updated to revision 7.
+ cd project
+ svn merge file:///tmp/svn.test/repos/trunk/project_at_3 file:///tmp/svn.test/repos/trunk/src_at_7
D file1
A file1
A file1.old
+ svn update
svn: Checksum mismatch for '.svn/text-base/file1.svn-base'; expected: 'e243bb39c844b3543a7726576c869caf', actual: '0ad777f8c28bdfc866607b87f653b5e8'

PS: The scripts needs a long time, 9.8s!

Jens

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Received on Tue Sep 5 16:24:49 2006

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