OSDN Git Service

svn: annotate codec - bugfix
authorRoman Kovalev <rnax@mail.ru>
Wed, 17 Nov 2010 16:20:22 +0000 (17:20 +0100)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Wed, 17 Nov 2010 17:10:36 +0000 (18:10 +0100)
commitf9959041d22deb2f69f610d4eadc9a48d8642fcc
tree3f8667937f65a09fd8a1ca78936c3385945a8b05
parent6e1c4c8e9c057a43486fb078c836fac210873f38
svn: annotate codec - bugfix

getCodec() needs to be called with an absolute file name.

As the changed decoding of the file contents will break the decoding of
svn's annotation prefixes (which are in system locale), force LC_ALL=C
to prevent an encoding mix in the first place.

Merge-request: 214
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
src/plugins/subversion/subversionplugin.cpp