-
-
/trunk/reviewboard/diffviewer/diffutils.py (Diff revision 1) for readability, you can write this as: if filenames.endswith(',v): (should work fine with python2.4 onwards.
fix syntax highlighting for cvs diff and multibyte language diff
Review Request #738 — Created Feb. 4, 2009 and discarded
Information | |
---|---|
lepton | |
Review Board SVN (deprecated) | |
Reviewers | |
reviewboard | |
There are two change: 1. for cvs diff, filename we got from diff file will be something like "a.python,v", if we don't strip ",v", then syntax hightliging won't work. 2. tell pygments encoding is "utf-8", otherwise chinese (or other multibyte language) character in source code won't display correctly
SB