| 121 | * Differential revisions will be created without context ([https://secure.phabricator.com/T2465 T2465]). In order to work around the issue, you can change the behavior of `svn diff` the following way: |
| 122 | * Create a file called `contextdiff.bat` with the following contents: |
| 123 | {{{ |
| 124 | @echo off |
| 125 | diff.exe -U9999999 -L %3 -L %5 %6 %7 |
| 126 | }}} |
| 127 | This file will use the `diff` executable provided by the Git Bash environment, so it should work. |
| 128 | * Change you SVN settings: go to `%appdata%\Subversion\` and edit the `config` file. Find the line beginning with |
| 129 | {{{ |
| 130 | # diff-cmd = ... |
| 131 | }}} |
| 132 | and replace it by |
| 133 | {{{ |
| 134 | diff-cmd = X:\full\path\to\contextdiff.bat |
| 135 | }}} |
| 136 | * You can test it works by running `svn diff` in the repository: the output should contain the entire contents of the modified file. From now on `arc diff` will create diffs with context available. |