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

Re: 1.7.1, Build 22161 line 672: assertion failed (checksum != NULL)

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Tue, 15 Nov 2011 17:33:24 +0000

Ethan Bradford <ethan.bradford_at_swype.com> writes:

>> Do you have the sqlite3 tool available to query the 1.7 working copy?
>>
>> sqlite3 .svn/wc.db "select count(*) from nodes where op_depth > 0"
>>
>
> I installed sqlite3 to check this. The answer it gets is 0.

Fine. Next:

sqlite3 .svn/wc.db "select * from work_queue"

There may be multiple lines. You should see something like:
6|(file-install A/f 1 0 1 1)

"A/f" is just an example, in your case it will be the path of a file in
your wc. So

sqlite3 .svn/wc.db "select * from nodes where local_relpath='A/f'"

You may see a checksum like:

$sha1$7ab6a41b5d9bc8fad70cc0314c142c91feab4686

or it may be missing. If present:

sqlite3 .svn/wc.db "select * from pristine where checksum like '%ab6a41b5d9bc8fad70cc0314c142c91feab4686"

or

sqlite3 .svn/wc.db "select * from pristine where checksum='\$sha1\$ab6a41b5d9bc8fad70cc0314c142c91feab4686"

they should be the same (one escapes the '$' characters, the other drops them).

-- 
Philip
Received on 2011-11-15 18:34:07 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.