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

Re: working copy text base is corrupt

From: solo turn <soloturn99_at_yahoo.com>
Date: 2002-08-06 16:30:32 CEST

it happenend with two working copies, one on nt, one
on unix. prerequisits:
1. the server had a broken post-commit hook
2. the client on nt had a broken diff3

i think the following is broken:
- a failure in the post-commit-hook
  should NOT prevent the update on
  the wc (the update is done in
  the repository).
- maybe: a failure to merge an update
  should not result in a checksum
  error, when in the meantime somebody
  else changes the file to a new version.
- IF there is a checksum error, then
  why not merge it anyway? is a different
  checksum not THE indicator for
  "please merge"?

used versions:
alpha build on unix (server/client).
first, alpha build, then newest "install.exe" from the
download section (alpha+?).

what one ;) did:
1. on nt (alpha version)
   update to a file
   svn ci, got the "hook error"
   svn up, got the "merge error"

   tried to do a "svn up", "svn revert",
   "svn cleanup" (can't remebmer the oder
   and how often i did it).

2. on unix
   update to the same file
   svn ci, got the "hook error"
   svn up, got the change to the working copy

3. on the server
   fixed the broken hook

4. did another update and commit to the same
   file on unix

5. on nt, uninstalled alpha, installed alpha+

5a. tried the "svn up", got the diff3 error
   again.
   
6. fixed the path to make diff3 work

7. tried to do a "svn up", "svn revert",
   "svn cleanup" (can't remebmer the oder, did
   a cleanup to get rid of the lock)
   but the final error is the "checksum error"
   on "svn up"

some extracts from the nt commandline:

C:\tmp\wc\> svn ci -m "email-test"
Sending
src/RegFunctions.java
Transmitting file data .
svn_error: #21086 : <A repository hook failed.>
  Commit failed (details follow):

svn_error: #21086 : <A repository hook failed.>
  MERGE request failed on /svnrep/test

svn_error: #21086 : <A repository hook failed.>

run_post_commit_hook: error running cmd
`/svnrep//hooks/post-commit'

C:\tmp\wc\>svn up

svn_error: #21046 : <Problem running log>
  in directory ./src

svn_error: #21046 : <Problem running log>
  start_handler: error processing command 'merge' in
./src

svn_error: #21089 : <Error calling external program>
  svn_wc_merge() returned an unexpected error

svn_error: #21089 : <Error calling external program>
  svn_io_run_diff3: Error running
c:\progra~1\cygnus\cygwin\bin\diff3.exe: exitcode was
2, args were:
in directory ., basenames:
./src/RegFunctions.java.62664.00001.tmp
./src/RegFunctions.java.62664.00001.tmp.62580.00001.tmp
./src/RegFunctions.java.62664.00001.tmp.62584.00001.tmp

--- Karl Fogel <kfogel@newton.ch.collab.net> wrote:
> solo turn <soloturn99@yahoo.com> writes:
> > how does one handle a
> >
> > svn_error: #21058 : <Working copy text base is
> > corrupt>
> > apply_textdelta: checksum mismatch for
> > './bla/.svn/text-base/RegFunctions.java.svn-base'
> > recorded checksum: utE4opbEYDdcoRuSCsIVeQ==
> > actual checksum: Nb8fNtvt9aG+A4KHYDqoxg==
> >
> > ?
>
> First, one checks out a new working copy, and
> transfers any local mods
> from the old (saved) working copy.
>
> Then, if one has time, one tries to figure out how
> this might have
> happened... :-)
>
> -Karl
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail:
> dev-help@subversion.tigris.org
>

__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 6 16:31:04 2002

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

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