Changes between Version 7 and Version 8 of Phabricator


Ignore:
Timestamp:
Feb 7, 2018, 9:09:02 AM (6 years ago)
Author:
Itms
Comment:

Add a workaround for T2465

Legend:

Unmodified
Added
Removed
Modified
  • Phabricator

    v7 v8  
    119119On Windows,
    120120* Make sure TortoiseSVN is installed with the box `command line client tools` checked.
     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
     125diff.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{{{
     134diff-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.
    121137* You will need to patch Arcanist against [https://secure.phabricator.com/T8075 T8075]. To do so, in your clone of the arcanist git repository, run
    122138{{{