Reva: Update of "repair the fossil repository"

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview

Artifact ID: c7ea4e55b67d39bb9dde8481ccce75a30fb297be
Page Name:repair the fossil repository
Date: 2011-06-10 05:29:30
Original User: ron
Parent: 54018af2bd44522e106f63905125166f022bb3fc
Content

You may experience problems using fossil for a few reasons:

It happened once that a simple "fossil pull" caused a crash. The reason fossil crashed was due to two problems:

  1. a bug in fossil, which has been fixed
  2. a faulty repository

Corruption

Somehow, the repository got into a bad state. The way to fix it is simple. Assume the repo is in ~/fossil/reva.fossil, then you would do this to recover:
   fossil sql ~/fossil/reva.fossil
   reindex
   .q

That's it... apparently the indices were messed up. If your problem is something else, try

   fossil rebuild -R ~/fossil/reva.fossil

If all else fails, try to clone the repository again.

If that also fails, email Ron!