Arcanist is an interface to Phabricator, and provides command-line access to many of its tools
Questions tagged [arcanist]
121 questions
100
votes
4 answers
Merging a branch of a branch after first branch is squashed when merged to master
Here's a workflow that I commonly deal with at work.
git checkout -b feature_branch
# Do some development
git add .
git commit
git push origin feature_branch
At this point the feature branch is up for review from my colleagues, but I want to keep…

Mike
- 1,625
- 3
- 16
- 19
46
votes
2 answers
How to reject/delete/close a phabricator patch
I have a patch which I want to close and hide in my project without landing it myself or let others to land it later on. This patch is just obsolete.
Is there any way to close/delete/reject this? I think so, because on their website it says:
You…

DonJuwe
- 4,477
- 3
- 34
- 59
38
votes
2 answers
Can you arc diff against a particular git branch?
I'm pretty new to both Arcanist and git. I'd like to be able to create an arc diff (Phabricator Differential instance using Arcanist) against a git branch that I'm currently checked-out/working in (and I have one local un-pushed commit) rather than…

Will
- 6,601
- 3
- 31
- 42
21
votes
1 answer
How to change default branch when using arc diff?
The first time I used arc diff to submit a branch, it asked me which branch to compare changes to. I entered origin/master. This compares it to all the changes that have been made to the Master branch. Now it always uses the Master to compare it to…

Amit
- 836
- 8
- 19
14
votes
1 answer
Is possible to modify arcanist/differential template?
I'm trying to configure a phabricator instance, and I find that change the arcanist default template when we use arc diff can be very useful for the team.
Actually the template contains this text:
<

Ruben Aguilar
- 1,205
- 11
- 19
10
votes
2 answers
What's the difference between `arc graft` and `arc patch`?
arc help --full | less reveals this for graft:
graft revision
Grafts revision and its dependencies (if any) onto your working tree.
--force
Do not run any sanity checks.
--skip-landed
Do not try to patch…

Gabriel Staples
- 36,492
- 15
- 194
- 265
8
votes
1 answer
How do I disable "test plan" enforcement in Phabricator?
arc diff rejects the commit if no test plan is specified. Is there any way to disable this feature?

user3105055
- 94
- 2
6
votes
1 answer
How to arc patch a preview diff
I created a diff (rather than revision) using arc diff --preview on one machine and I'd like to patch it on another machine. What command do I use? If I try arc patch I get:
Exception
The diff or revision you specified is either invalid or you…

Liron Yahdav
- 10,152
- 8
- 68
- 104
6
votes
0 answers
arc diff including all changes in submodules
I`m using Phabricator and have main project in git and many submodules inside which are other git`s projects. Lets suppose I changed one file in every submodule and I would like to do arc diff on this changes. Does anybody know if there is a…

user2357985
- 63
- 3
5
votes
1 answer
Can you configure Phabricator/Arcanist to lint Java?
When I do arc linters, there are no options for a Java linter currently. Is there a way to configure Arcanist to lint Java code?

d3ming
- 8,496
- 5
- 31
- 33
5
votes
2 answers
How to set up Arcanist workflow with reviewer lag time (aka stacked diffs)?
I'm fairly new to git, and even newer to Phabricator, and I'm trying to get a clean workflow set up early in my project. As I understand it, the proper thing to do with git is create a new branch for each feature, implement it in the branch, and…

Douglas
- 5,017
- 1
- 14
- 28
5
votes
1 answer
Create revision per feature branch
I am currently using Git and Arcanist for our project. I have a project with a couple of tasks through phabricator. As soon as I create a revision through arc diff for feature branch (A), I want to start in a different feature branch (B) before the…

Dev.One
- 51
- 1
5
votes
2 answers
Arc diff hangs on git commit
I'm trying to get a good workflow working for Phabricator and recently made a few changes to our test project to work out some things. I made several changes but forgot to put them in their own feature branches. All of the changes were uncommitted…

SpaDusA
- 324
- 4
- 14
4
votes
2 answers
Can you arc diff with group as reviewer?
we are a lot of people at work and sometimes I just don't remember the user names of all of them, we are all in the same group and I would like to know if it's possible to run something like:
arc diff --reviewers Developers
Assuming that Developers…

Gori
- 361
- 3
- 14
4
votes
1 answer
Phabricator Arcanist has errors ini_set(): open_basedir restriction in effect. File() is not within the allowed path(s)
I am running the latest Arch Linux
I have looked at topics like these:
Unlink Fails -> open_basedir issue Warning: unlink() [function.unlink]: open_basedir restriction in effect. File() is not within the allowed path(s):
open_basedir restriction in…

vitiral
- 8,446
- 8
- 29
- 43