Hi, On Sat, 26 Jan 2008 13:07:14 -0800, Cameron Dale wrote: > If I change subversion's (...) option (in ~/.subversion/config) to > use colordiff (...), then debcommit is "unable to determine commit > (...)
I can confirm this and tried to solve it. No luck yet. The problem is that debcommit parses the output of $VCS diff to find the commit message and if colordiff is used the test patterns in the script don't apply anymore, because the output contains the (ansi) color sequences. I thought of two solutions for this problem: 1) Remove color sequences before comparations in the script. I think this would be the best solution, because it is independent of the used VCS. However I don't know how to realize this, as I did not find a function for that and failed in writing one myself. 2) Force svn diff in the debcommit script to use a different --diff-cmd, so that it can ensure that colordiff or similar programs are not used. I quick hacked this into the script to test it and that would work. However this solution would require to check how to implement this for git and the other supported VCSes and if implementable for them at all. Also it seems to me like a hack, not a solution. Best Regards, Patrick -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

