You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by pr...@apache.org on 2013/04/11 12:41:50 UTC

svn commit: r1466832 - /subversion/branches/verify-keep-going/BRANCH-README

Author: prabhugs
Date: Thu Apr 11 10:41:49 2013
New Revision: 1466832

URL: http://svn.apache.org/r1466832
Log:
Update the BRANCH-README file.

Modified:
    subversion/branches/verify-keep-going/BRANCH-README

Modified: subversion/branches/verify-keep-going/BRANCH-README
URL: http://svn.apache.org/viewvc/subversion/branches/verify-keep-going/BRANCH-README?rev=1466832&r1=1466831&r2=1466832&view=diff
==============================================================================
--- subversion/branches/verify-keep-going/BRANCH-README (original)
+++ subversion/branches/verify-keep-going/BRANCH-README Thu Apr 11 10:41:49 2013
@@ -8,5 +8,55 @@ svnadmin verify --keep-going /path/to/re
 
 TODO:
 -----
-  - Continue after verification failure and return the correct exit code.
-  - Add a few more test cases.
+1. Add a few more test cases.
+
+
+2. Show a summary of corruptions by default. So the svnadmin verify
+   --keep-going would look something like,
+
+<MOCK>
+
+$ svnadmin verify --keep-going myrepo
+* Verifying repository metadata ...
+* Verified revision 0.
+* Verified revision 1.
+* Verified revision 2.
+.
+.
+.
+* Error verifying revision 11.
+svnadmin: E160013: File not found: revision 11, path '/Trunk'
+* Verified revision 12.
+* Verified revision 13.
+.
+.
+.
+* Error verifying revision 112.
+svnadmin: E160004: Invalid change kind in rev file
+* Verified revision 113.
+
+Summary of corruptions
+----------------------
+Total corruptions: 2
+rev11: svnadmin: E160013: File not found: revision 1, path '/Trunk'
+rev112: svnadmin: E160004: Invalid change kind in rev file
+svnadmin: E165005: Repository '/tmp/myrepo' failed to verify
+
+</MOCK>
+
+
+3. If --keep-going is used along with --quiet option, show only the corruption
+   summary so that it would look like,
+
+<MOCK>
+
+$ svnadmin verify --keep-going --quiet myrepo
+
+Summary of corruptions
+----------------------
+Total corruptions: 2
+rev11: svnadmin: E160013: File not found: revision 1, path '/Trunk'
+rev112: svnadmin: E160004: Invalid change kind in rev file
+svnadmin: E165005: Repository '/tmp/myrepo' failed to verify
+
+</MOCK>