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

Re: Subversion DB gotinto invalid state, and can't be fixed by 'svn cleanup'

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Thu, 16 Nov 2017 14:28:37 +0000

Yuri wrote on Wed, 15 Nov 2017 08:42 -0800:
> I had the directory sysutils/fd added locally (svn add). Then I
> accidentally removed it (rm -rf sysutils/fd) and updated from the
> central repository because somebody else committed it. After this, it
> just keeps printing errors no matter what I do. cleanup and revert don't
> help.

Reproduced in trunk:

% svnadmin create r
% svn co file://$PWD/r wc
Checked out revision 0.
% mkdir wc/A
% touch wc/A/mu
% svn add wc/A
% svnmucc -U file://$PWD/r -m r1 mkdir A put /dev/null A/mu
% rm -rf wc/A
% svn up wc
Updating 'wc':
A wc/A
A wc/A/mu
subversion/svn/update-cmd.c:176,
subversion/libsvn_client/update.c:782,
subversion/libsvn_client/update.c:668,
subversion/libsvn_client/update.c:508,
subversion/libsvn_wc/adm_crawler.c:859,
subversion/libsvn_repos/reporter.c:1573,
subversion/libsvn_repos/reporter.c:1483,
subversion/libsvn_repos/reporter.c:1475,
subversion/libsvn_repos/reporter.c:1413,
subversion/libsvn_repos/reporter.c:1350,
subversion/libsvn_repos/reporter.c:1061,
subversion/libsvn_wc/update_editor.c:2813,
subversion/libsvn_wc/workqueue.c:1552: (apr_err=SVN_ERR_WC_BAD_ADM_LOG)
svn: E155009: Failed to run the WC DB work queue associated with '/tmp/tmp.YqemzT8MEI/wc/A', work item 1 (file-install A/mu 1 0 1 1)
subversion/libsvn_wc/workqueue.c:1443,
subversion/libsvn_wc/workqueue.c:512: (apr_err=SVN_ERR_WC_CORRUPT_TEXT_BASE)
svn: E155017: Can't install '/tmp/tmp.YqemzT8MEI/wc/A/mu' from pristine store, because no checksum is recorded for this file
zsh: exit 1
Received on 2017-11-16 15:28:43 CET

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.