Patching the QCT Commit Tool

Posted by dave
on Thursday, October 01

The qct commit tool is a very nice lightweight svn client, but in the standard Ubuntu 9.04 repos it suffers from one small flaw: it doesn’t actually work. This patch (stolen from upstream) gets it back in working order:

for line in recs:
   if len(line) < 7: # <== add that
       continue # <== and that
   status = line[0]
   fname = line[7:]

Drop those two changed lines into /usr/share/python-support/qct/qctlib/vcs/svn.py after line 93 and you’ll have a nice lightweight svn commit tool.