Comment #18 on issue 839 by [email protected]: Option to convert tabs in the diff to (n) spaces
http://code.google.com/p/reviewboard/issues/detail?id=839

I made a change (ReviewBoard-1.0.5.1) in reviewboard\diffviewer\diffutils.py file and everything works:
Line 358-359, you will find:

    old = convert_to_utf8(old, encoding)
    new = convert_to_utf8(new, encoding)

change them to

    old = convert_to_utf8(old, encoding).expandtabs(4)
    new = convert_to_utf8(new, encoding).expandtabs(4)

So write to the end of the lines: ".expandtabs (4)". That's all. Empty all cache (python, server and client), they can foul you.


--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.

Reply via email to