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:53:35 +0000 (18:53 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 29 Jan 2010 18:53:35 +0000 (18:53 -0000)
exist therefore and if this code had ever executed it would have raised
a KeyError. (trunk r15222)

svn path=/main/branches/2.1.7/; revision=15271

bin/repoman

index 442fb83d80defd4e8f49a08c14e8f54d4551ed31..7efd7e7ecf847da9c22f21139e3768bd07181df0 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"])