Improved work with encoding on subversion/diff generate

Review Request #6202 — Created Aug. 6, 2014 and discarded — Latest diff uploaded

Information

Review Board
master
e9e95f6...

Reviewers

When repository encoding different from UTF-8, applying unicode (utf-8) diff to non utf-8 original file may cause an error (reviewboard/diffviewer/diffutils.py 'patch' function).
Also in code of both subversion client encoding of repository was hardcoded.


 
reviewboard/diffviewer/chunk_generator.py
reviewboard/diffviewer/diffutils.py
reviewboard/reviews/views.py
reviewboard/scmtools/svn/__init__.py
reviewboard/scmtools/svn/base.py
reviewboard/scmtools/svn/pysvn.py
reviewboard/scmtools/svn/subvertpy.py
reviewboard/webapi/resources/base_original_file.py
reviewboard/webapi/resources/base_patched_file.py
Loading...