--- vcpx/repository/svn.py 2006-12-11 15:08:24.000000000 -0600 +++ /usr/lib/python2.4/site-packages/vcpx/repository/svn.py 2007-01-24 22:16:37.000000000 -0600 @@ -299,9 +299,19 @@ parser.setContentHandler(handler) parser.setErrorHandler(ErrorHandler()) + def scrub(text): + scrubbed_text = '' + i = text.find('\x1b') + while i != -1: + scrubbed_text += text[0:i] + text = text[i+3:] + i = text.find('\x1b') + scrubbed_text += text + return scrubbed_text + chunk = log.read(chunksize) while chunk: - parser.feed(chunk) + parser.feed(scrub(chunk)) for cs in handler.changesets: yield cs handler.changesets = []