Index: trunk/extensions/CodeReview/Subversion.php |
— | — | @@ -120,10 +120,11 @@ |
121 | 121 | $lang = wfIsWindows() ? "" : "LC_ALL=en_US.utf-8 "; |
122 | 122 | $command = sprintf( |
123 | 123 | "{$lang}svn log -v -r%s:%s --non-interactive %s %s", |
124 | | - wfEscapeShellArg( $this->_rev( $startRev, 'BASE' ) ), |
125 | | - wfEscapeShellArg( $this->_rev( $endRev, 'HEAD' ) ), |
| 124 | + intval( $this->_rev( $startRev, 'BASE' ) ), |
| 125 | + intval( $this->_rev( $endRev, 'HEAD' ) ), |
126 | 126 | $this->getExtraArgs(), |
127 | | - wfEscapeShellArg( $this->mRepo . $path ) ); |
| 127 | + wfEscapeShellArg( $this->mRepo . $path ) |
| 128 | + ); |
128 | 129 | |
129 | 130 | $lines = explode( "\n", wfShellExec( $command ) ); |
130 | 131 | $out = array(); |