<div dir="ltr"><div>Hi,</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 8, 2019 at 8:41 PM Mehdi AMINI <<a href="mailto:joker.eph@gmail.com">joker.eph@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Are you trying to apply a revision that was uploaded to Phabricator from one of the individual repository (or from SVN)?<br></div></div></blockquote><div><br></div><div>Yes from clang if I understood your question correctly.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>The issue if I remember correctly is that a patch uploaded from an SVN checkout would not start with `llvm/` or `clang/` and wouldn't be able to be applied in the monorepo. Conversely, a revision created from the monorepo can't be applied by `arc patch` in a single subproject checkout.</div><div>I don't think there is a way around this, maybe `--strip-prefix` and `--add-prefix` options could be added to `arc patch`, but I'm not sure it would fit the expectation of `arc` upstream.</div></div></blockquote><div><br></div><div>That's what I thought too, but doing `arc patch` either in llvm-project/ or in llvm-project/clang/ doesn't change anything.</div><div><br></div><div>Thanks again,</div><div>- Nicolas</div></div></div>