Invoking arc version in Windows yields the following error:
$ arc version --trace ARGV "C:/Users/myuser/Desktop/arcanist/bin/../scripts/arcanist.php" "version" "--trace" LOAD Loaded "phutil" from "C:\Users\myuser\Desktop\libphutil\src". LOAD Loaded "arcanist" from "C:\Users\myuser\Desktop\arcanist\src". Config: Reading user configuration file "C:\Users\myuser\AppData\Roaming/.arcrc"... Config: Did not find system configuration at "C:\ProgramData\Phabricator/Arcanist/config". Working Copy: Reading .arcconfig from "C:\Users\myuser\Desktop\myproject\myproject/.arcconfig". Working Copy: Path "C:\Users\myuser\Desktop\myproject\myproject" is part of `git` working copy "C:\Users\myuser\Desktop\myproject\myproject". Working Copy: Project root is at "C:\Users\myuser\Desktop\myproject\myproject". Config: Did not find local configuration at "C:\Users\myuser\Desktop\myproject\myproject\.git\arc/config". >>> [0] <exec> $ where "git" <<< [0] <exec> 130,561 us Working Copy: No candidate locations for .arcconfig from this working directory. Working Copy: Path "C:\Users\myuser\Desktop\arcanist" is not in any working copy. [2017-07-11 23:02:42] EXCEPTION: (Exception) The current working directory is not part of a working copy for a supported version control system (Git, Subversion or Mercurial). at [<arcanist>\src\repository\api\ArcanistRepositoryAPI.php:85] arcanist(head=master, ref.master=165df12046e5), phutil(head=master, ref.master=0a4487d37cd7) #0 ArcanistRepositoryAPI::newAPIFromConfigurationManager(ArcanistConfigurationManager) called at [<arcanist>\src\workflow\ArcanistVersionWorkflow.php:47] #1 ArcanistVersionWorkflow::run() called at [<arcanist>\scripts\arcanist.php:394]
I am sure I am in a git repository:
$ git status On branch f_T5656 Your branch is ahead of 'master' by 1 commit. (use "git push" to publish your local commits) nothing to commit, working tree clean
I just git pulled the latest version of arcanist (165df12046e58390f0d00f4cf3e1aa1ab0eb1365) and libphutil (0a4487d37cd72b3b91ac332377f2b12d4e5a2543) and still got the same error.
To reproduce execute the command I show above: arc version.
I cannot provide the version of arc because of this same bug.