When we use phabricator for code review, There are always tips like this: "Context not avaiable" as showed in picture 1. we are puzzled by this so much, we use svn. Could you please help me? There are about 1000 people in our company using phabricator, we all want to resolve this problem . I am not very good at english. Thank you so much!
Description
Description
Event Timeline
Comment Actions
This is because the context isn't present in the diff that you gave to Phabricator. Instead of running a command like this:
git diff hg diff --git svn diff
...run this instead:
git diff -U99999 hg diff --git -U99999 svn diff --diff-cmd /usr/bin/diff -x -U9999
You can also use arc to send code to Phabricator for review, which will handle this for you automatically. See http://www.phabricator.com/docs/phabricator/article/Arcanist_User_Guide.html
Comment Actions
Ah, okay. This is a problem with the availability of diff on Windows. I'm going to merge this task into T2465, which discusses the issue in more detail.