Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
In some cases of a damaged repository, it is possible for the rep-cache to contain references to revision numbers greater than the head revision.
For example, this can happen if the most recent revision(s) in a repository are unwanted or corrupted, and I attempt recovery by deleting the unwanted revisions and rolling back the "current" file.
'svnadmin recover' (since 1.7.3, 1.8.0) prunes the rep-cache, but we cannot guarantee it was used.
The consequences of such bad references are serious: they can cause future commits to be corrupted, silently.
Therefore 'svnadmin verify' should check the rep-cache only refers to existing revisions.