Page MenuHomePhabricator

Creating an arc diff from a working directory that is not the repository root
Open, Needs TriagePublic

Description

I use arc under windows 7 with git bash.
When I perform an arc diff from a working directory other than the repository root, I get

$ arc diff
Usage Exception: `arc diff` is only supported under git, hg, svn.

It would be a very convenient feature if this action could be done from anywhere in the repository.

Related Objects

Event Timeline

Chiel92 created this task.May 2 2016, 11:42 AM
chad added a subscriber: chad.May 2 2016, 2:21 PM

How can I reproduce this locally?

Chiel92 added a comment.EditedMay 2 2016, 3:33 PM

From your reaction I take it that this behaviour is not supposed to be.

Clone a repository in a folder repo/ under windows 7.
Put an .arcconfig file in repo/ containing

{
    "history.immutable" : true,
    "phabricator.uri" : "http://lmyserver/"
}

From a git bash do:

$ cd repo/some/folder
$ arc diff
Usage Exception: `arc diff` is only supported under git, hg, svn.
$ cd repo/
$ arc diff
# Everything is fine, text editor boots up
chad added a comment.May 2 2016, 3:58 PM

I'm going to guess this is T8298. These commands run fine in *nix, but not on Windows. There are diffs out for review.

Sounds reasonable. Thanks for the quick response.

epriestley moved this task from Backlog to Windows on the Arcanist board.Jul 21 2016, 11:41 AM
epriestley moved this task from Backlog to Diff on the Windows board.Oct 2 2018, 1:00 PM
pasik added a subscriber: pasik.Sat, Mar 9, 8:27 PM