How to arc patch a preview diff
Asked Answered
D

1

8

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.
Diva answered 10/10, 2017 at 20:48 Comment(0)
D
16

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.

Diva answered 10/10, 2017 at 20:48 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.