From: Mathieu M. <mat...@ki...> - 2005-09-28 17:08:51
|
Hello, I have hacked syncmail to produce viewcvs diff url instead of context diff. This is not the perfect patch, but works for me. If I find some time I'll try to make it an option. So people could check wether they want -C (context diff) -u (unified diff) or -v (viewcvs diff). Cheers, Mathieu Ps: Could someone comment on def escape_filename(file), I just moved the code within a function but the code looks weird. filestr = filestr.replace('\\', '\\\\') before filestr is affected to anything... And also the trick to figure out if the file is binary I believe looking at -kb flag should be more bullet proof. Comments ? |