I just got bit by this. Here's a minimal patch that fails utterly to fix the "should handle" problem, but at least fixes the "shouldn't blow up" one:
=== modified file 'cvsps/parser.py'
--- cvsps/parser.py 2007-02-08 22:33:44 +0000
+++ cvsps/parser.py 2009-04-25 07:35:24 +0000
@@ -254,6 +254,10 @@
if not line or line == '\n': continue
+ # HACK: These lines show up now
+ if line.startswith("Branches:"):
+ continue
+
for prefix in handlers:
if line.startswith(prefix): handlers[prefix](line)
I just got bit by this. Here's a minimal patch that fails utterly to fix the "should handle" problem, but at least fixes the "shouldn't blow up" one:
=== modified file 'cvsps/parser.py'
continue
--- cvsps/parser.py 2007-02-08 22:33:44 +0000
+++ cvsps/parser.py 2009-04-25 07:35:24 +0000
@@ -254,6 +254,10 @@
if not line or line == '\n':
+ # HACK: These lines show up now ("Branches: "): (prefix) :
handlers[ prefix] (line)
+ if line.startswith
+ continue
+
for prefix in handlers:
if line.startswith