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

What am I doing wrong? (Base checksum mismatch on commit)

From: Jack Repenning <jrepenning_at_collab.net>
Date: Mon, 6 Jul 2009 11:09:56 -0700

I have a cronjob that runs every two hours: checkout, modify, commit,
nuke working copy. Around once a day, it encounters something like this:

> svn: Commit failed (details follow):
> svn: Base checksum mismatch on '/trunk/www/overrides/snippets/
> ViewIssueTab4Att-Top.html':
> expected: 6623a0052da1ca124331e936f9eb8c76
> actual: cf7c74932d25593d94369e5b15c7080b

The next run (which always uses a clean working copy) always works fine.

There's long history (http://snurl.com/m8c9z) in this list and dev@
alleging that this is because of some sort of corruption in the
working copy, which I suppose is consistent with my experience that
the next co/mod/ci is always OK. But I can't quite imagine what I
might be doing that would cause such corruption, especially since it's
the same script every time, on a pristine, for-purpose working copy.

Looking at the script, I'm reminded that I did something modestly
tricky, back last December, right at the point of the commit that
always encounters this error, and yes, it does seem rather as if the
problem began about then, though my time-sense here has some pretty
large error bars. What I do is this:

        svn stat |
        cut -c5- |
        sort -r |
        xargs -n100 svn commit -F svn-commit.log --depth empty

Is there something wrong with such an approach?

-==-
Jack Repenning
Chief Technology Officer
CollabNet, Inc.
8000 Marina Boulevard, Suite 600
Brisbane, California 94005
office: +1 650.228.2562
twitter: http://twitter.com/jrep

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2368467

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-06 20:11:30 CEST

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

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