Index: trunk/extensions/CodeReview/Subversion.php |
— | — | @@ -109,7 +109,7 @@ |
110 | 110 | |
111 | 111 | function getLog( $path, $startRev=null, $endRev=null ) { |
112 | 112 | $command = sprintf( |
113 | | - "svn log -v -r%s:%s --non-interactive %s", |
| 113 | + "LC_MESSAGES=C svn log -v -r%s:%s --non-interactive %s", |
114 | 114 | wfEscapeShellArg( $this->_rev( $startRev, 'BASE' ) ), |
115 | 115 | wfEscapeShellArg( $this->_rev( $endRev, 'HEAD' ) ), |
116 | 116 | wfEscapeShellArg( $this->mRepo . $path ) ); |
— | — | @@ -159,7 +159,7 @@ |
160 | 160 | $state = 'changedpaths'; |
161 | 161 | break; |
162 | 162 | case "changedpaths": |
163 | | - if( $line == "Changed paths:" ) { |
| 163 | + if( $line == "Changed paths:" ) { // broken when svn messages are not in English |
164 | 164 | $state = "path"; |
165 | 165 | } elseif( $line == "" ) { |
166 | 166 | // No changed paths? |