Page MenuHomePhabricator

arc diff can't provide all code context for review in Windows.
Closed, ResolvedPublic

Asked by steven.nlj on Dec 4 2013, 10:36 AM.

Details

I am using Phabricator + SVN.

When I use arc diff to commit code review request in Linux, I can see the all code context in Phabricator.
But when I run the same command in Windows, the Phabricator says the 'Context not available'.

I compared the raw diff files committed in Linux and in Windows and fount the only difference is that the line number in Linux diff file is real number, but in windows is not.

I tried two svn client command in windows, svn command in Tortoise SVN 1.8.5 and the svn client download from http://sourceforge.net/projects/win32svn/?source=dlp , but things are the same.

I wan't to know:

  1. How does phabricator get the code context?
  2. Is there any way to make arc diff can generate full code context in windows?

Thanks

Answers

asherkin
Updated 3,766 Days Ago

You need to have GNU diff available in the PATH. This is a downside of SVN not having a way to specify the number of lines of context when doing a diff.

New Answer

Answer

This question has been marked as closed, but you can still leave a new answer.