stable

Clone or download

Read-only

fix: Force utf8 in svnlook commands

In SVN, we cannot commit path that contains accentuated characters if file size limit is set. ``` tuleap config-set plugin_svn_file_size_limit 1 ``` ``` ➜ svn mkdir Spécifique A Spécifique ➜ svn ci -m "add specifique" Adding Spécifique Committing transaction... svn: E165001: Commit failed (details follow): svn: E165001: Commit blocked by pre-commit hook (exit code 1) with output: svnlook: E160013: Path 'Sp?\195?\169cifique' does not exist The command "'/usr/bin/svnlook' 'filesize' '-t' '2-2' '/var/lib/tuleap/svn_plugin/107/xxx' 'Sp?\195?\169cifique/'" failed. Exit Code: 1(General error) ``` Fix request #26782: Unable to commit path with accentuated characters Change-Id: Id9aafe69ecc4146735553f10b7c6509b8941ac6e

Modified Files

Name
M plugins/svn/include/SVN/Commit/Svnlook.php +8 −8 Go to diff View file