Page MenuHomePhabricator

Always context not available
Closed, ResolvedPublic

Description

As the picture shows, I always got a message "context not available".
My server is ubuntu 12.04LTS, and my work pc is windows xp/7.
The codes were written in C++ with Visual studio 2010.
We create a diff with arc diff command.
And I've written a small program to transfer all our code into UTF-8(No-BOM).
Is it normal?Why? or how can I handle this situation?
Thanks a lot.

pasted_file (276×1 px, 28 KB)

Event Timeline

peapon raised the priority of this task from to Needs Triage.
peapon updated the task description. (Show Details)
peapon added a project: Differential.
peapon added a subscriber: peapon.

What VCS are you using - svn , git or mercurial?

Also in your work PC, where is arc run - cygwin or cmd prompt?

Arcanist only uploads the diff, context is generated by having the repository tracked in Diffusion.

epriestley added a subscriber: epriestley.
In T6782#87942, @chad wrote:

Arcanist only uploads the diff, context is generated by having the repository tracked in Diffusion.

This isn't actually true. T5029 discusses building this feature, but we don't currently have it and it's very, very complex so we're unlikely to have it for a long time.

The context is generated by running the underlying diff with a -U999999 or similar flag which adds entire files as context.

What VCS are you using - svn , git or mercurial?

Also in your work PC, where is arc run - cygwin or cmd prompt?

I use svn for version control and I use cmd prompt to run arc

You can use gnu-diff and a workaround to get the full context in svn diff.
Something on the lines of [T2465#24935]

You can use gnu-diff and a workaround to get the full context in svn diff.
Something on the lines of [T2465#24935]

In T6782#87942, @chad wrote:

Arcanist only uploads the diff, context is generated by having the repository tracked in Diffusion.

This isn't actually true. T5029 discusses building this feature, but we don't currently have it and it's very, very complex so we're unlikely to have it for a long time.

The context is generated by running the underlying diff with a -U999999 or similar flag which adds entire files as context.

Thanks a lot!
I solved it follow you.
I'll close the task.

peapon changed the task status from Duplicate to Resolved.Dec 21 2014, 3:21 AM
peapon claimed this task.