Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to arc patch a preview diff

Tags:

arcanist

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 <ID> I get:

Exception
The diff or revision you specified is either invalid or you don't have
permission to view it.
like image 795
Liron Yahdav Avatar asked Dec 14 '22 20:12

Liron Yahdav


1 Answers

The correct command to run is arc patch --diff <ID>. The difference is that when you use arc patch <ID> it's referring a revision ID rather than a diff ID.

like image 77
Liron Yahdav Avatar answered Dec 30 '22 13:12

Liron Yahdav