subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From julianf...@apache.org
Subject svn commit: r1095806 - /subversion/trunk/contrib/server-side/fsfsfixer/fixer/fix-rev.py
Date Thu, 21 Apr 2011 20:25:14 GMT
Author: julianfoad
Date: Thu Apr 21 20:25:14 2011
New Revision: 1095806

URL: http://svn.apache.org/viewvc?rev=1095806&view=rev
Log:
* contrib/server-side/fsfsfixer/fixer/fix-rev.py
  (fix_id): Remove a hard-coded fix that was put in for one specific
    corruption in one specific repository.

Found by: danielsh

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

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=1095806&r1=1095805&r2=1095806&view=diff
==============================================================================
--- subversion/trunk/contrib/server-side/fsfsfixer/fixer/fix-rev.py (original)
+++ subversion/trunk/contrib/server-side/fsfsfixer/fixer/fix-rev.py Thu Apr 21 20:25:14 2011
@@ -75,10 +75,7 @@ def replace_in_rev_file(repo_dir, rev, o
 def fix_id(repo_dir, rev, bad_id):
 
   # Find the GOOD_ID to replace BAD_ID.
-  if bad_id == "6-12953.0.r12953/30623":
-    good_id = "0-12953.0.r12953/30403"
-  else:
-    good_id = find_good_id(repo_dir, bad_id)
+  good_id = find_good_id(repo_dir, bad_id)
 
   # Replacement ID must be the same length, otherwise I don't know how to
   # reconstruct the file so as to preserve all offsets.



Mime
View raw message