Remove code for svn.IO_error and bzr.IO_error categories since they don't
authorZac Medico <zmedico@gentoo.org>
Fri, 29 Jan 2010 18:22:13 +0000 (18:22 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 29 Jan 2010 18:22:13 +0000 (18:22 -0000)
exist therefore and if this code had ever executed it would have raised
a KeyError.

svn path=/main/trunk/; revision=15222

bin/repoman

index 5f46c15fb776d285ba62fd4e20977cd0901db50f..193cc1e88633d2d792972956cc0ac3b3090ae70d 100755 (executable)
@@ -1161,12 +1161,8 @@ for x in scanlist:
                                if vcs == "cvs":
                                        stats["CVS/Entries.IO_error"] += 1
                                        fails["CVS/Entries.IO_error"].append(checkdir+"/CVS/Entries")
-                               elif vcs == "svn":
-                                       stats["svn.IO_error"] += 1
-                                       fails["svn.IO_error"].append(checkdir)
-                               elif vcs == "bzr":
-                                       stats["bzr.IO_error"] += 1
-                                       fails["bzr.IO_error"].append(checkdir)
+                               else:
+                                       raise
                        continue
 
        mf = Manifest(checkdir, repoman_settings["DISTDIR"])