Page MenuHomePhabricator

Problem about "Context not avaiable"
Closed, DuplicatePublic

Description

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!

name

Event Timeline

lhj assigned this task to epriestley.
lhj raised the priority of this task from to High.
lhj updated the task description. (Show Details)
lhj added a project: Blessed Committers.
lhj added a subscriber: lhj.

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

we did use "arc diff" command to send the context to phabricator.thank you so much

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.