phabricatorarcanist

Is there a way to specify default reviewers in Arcanist?


I use Arcanist and Phabricator at work and constantly have to manually specify the reviewer field whenever I do arc diff. 95% of the time I use the same reviewer value, which is my current team. I wonder if there's a config somewhere to pre-fill this value such that I do not have to manually fill it up every time I do arc diff?

I read about the --reviewers flag but for some reason it does not work for me. Doing:

$ arc diff --reviewers john.doe

I get:

<<Commit message>>

Summary:

Test Plan:

Reviewers:

Subscribers:

The reviewers field does not get filled in.


Solution

  • Just use an alias?

    alias newdiff="arc diff --reviewers bob"