Im getting the error “svn: bdb: call implies an access method which is inconsistent with previous calls”. How do I fix this?
Berkeley DB 4.1 has shown itself to be rather unstable – both 4.0 and 4.2 are better. This error message is a symptom of one unique way in which 4.1 will sometimes break. The problem is that the database format field for one of the tables that make up a Subversion repository using the Berkeley DB backend has become corrupted. For unknown reasons, this is almost always the ‘copies’ table, which switches from the ‘btree’ type to the ‘recno’ type. Simple recovery procedures are outlined below – if they do not succeed, you should contact the Subversion Users mailing list. • Ensure that no other processes will attempt to access your repository. • Now, back up your repository to a tar or zip file or similar. • Change to the db subdirectory of your repository. • rm __db.* log.* • db_dump -p -r copies > copies.dump • Now edit copies.dump. In the section near the top, change “type=recno” to “type=btree”, and delete the line beginning “re_len=”. • rm copies • db_load copies < copies.dump • svnad
Related Questions
- Why does my application sometimes receive a NativeSeqFile error when using JRIO and the Remote Method Invocation (RMI) - Java Remote Method Protocol (JRMP) to access MVS datasets?
- Since the Making Work Pay credit does not apply to non-resident aliens, should the previous percentage method tables continue to be used?
- Im getting the error "svn: bdb: call implies an access method which is inconsistent with previous calls". How do I fix this?