Author: julianfoad
Date: Tue Apr 30 16:47:23 2013
New Revision: 1477721

URL: http://svn.apache.org/r1477721
Log:
In the fsfsfixer contrib script, tweak the usage message and and error
message for clarity.

* contrib/server-side/fsfsfixer/fixer/fix-rev.py
  (fix_one_error): Clarify that the real problem is the script doesn't
    recognize the error message.

* contrib/server-side/fsfsfixer/fix-repo
  (USAGE): Clarify.

Modified:
    subversion/trunk/contrib/server-side/fsfsfixer/fix-repo
    subversion/trunk/contrib/server-side/fsfsfixer/fixer/fix-rev.py

Modified: subversion/trunk/contrib/server-side/fsfsfixer/fix-repo
URL: 
http://svn.apache.org/viewvc/subversion/trunk/contrib/server-side/fsfsfixer/fix-repo?rev=1477721&r1=1477720&r2=1477721&view=diff
==============================================================================
--- subversion/trunk/contrib/server-side/fsfsfixer/fix-repo (original)
+++ subversion/trunk/contrib/server-side/fsfsfixer/fix-repo Tue Apr 30 16:47:23 
2013
@@ -1,6 +1,6 @@
 #!/bin/sh
-USAGE="Fix some kinds of corruption in a Subversion repository
-by running './fixer/fix-rev.py' on each revision.
+USAGE="Fix some kinds of corruption in a Subversion FSFS repository.
+This script runs './fixer/fix-rev.py' on each revision.
 Usage: $0 REPO-DIR START-REV
 
 Backup your repository before running these scripts."

Modified: subversion/trunk/contrib/server-side/fsfsfixer/fixer/fix-rev.py
URL: 
http://svn.apache.org/viewvc/subversion/trunk/contrib/server-side/fsfsfixer/fixer/fix-rev.py?rev=1477721&r1=1477720&r2=1477721&view=diff
==============================================================================
--- subversion/trunk/contrib/server-side/fsfsfixer/fixer/fix-rev.py (original)
+++ subversion/trunk/contrib/server-side/fsfsfixer/fixer/fix-rev.py Tue Apr 30 
16:47:23 2013
@@ -210,7 +210,7 @@ def fix_one_error(repo_dir, rev):
     if handle_one_error(repo_dir, rev, svnlook_err):
       return True
 
-  raise FixError("unfixable error:\n  " + "\n  ".join(svnadmin_err))
+  raise FixError("unrecognized error message, and so unable to fix:\n  " + "\n 
 ".join(svnadmin_err))
 
 def check_formats(repo_dir):
   """Check that REPO_DIR isn't newer than we know how to handle."""


Reply via email to