[cfe-dev] Resolving conflicts when using arcanist

Nathan Wilson nwilson20 at gmail.com
Mon Aug 3 05:31:02 PDT 2015


On Mon, Aug 3, 2015 at 7:25 AM, Manuel Klimek <klimek at google.com> wrote:

> On Mon, Aug 3, 2015 at 2:22 PM Nathan Wilson <nwilson20 at gmail.com> wrote:
>
>> Hi Manuel,
>>
>> Thanks! Looks like it works after merging with head. Now, when I go to
>> commit, I get a warning message (below). Is that alright? Would it put any
>> of the subversion history in a bad state or am I okay to commit?
>>
>> Revision 'D11600: [CONCEPTS] Add concept to VarDecl and diagnostic for
>>     uninitialized variable concept' was generated from '', but current
>>     working copy root is '/cfe/trunk'. Commit this revision anyway?
>>
>
> I've never seen this, and I have no idea what you've done.
> You can always try submitting, look at what it did, and roll back if
> necessary.
>

Good point. I'll do that then. Looks like I wasn't up to date with trunk,
so I'll give a try shortly.

Thanks for the help!


>
>
>>
>>
>>
>> On Sat, Aug 1, 2015 at 8:53 AM, Manuel Klimek <klimek at google.com> wrote:
>>
>>> You'll probably want to sync your working copy to the same revision from
>>> which D11600 was diffed-to and uploaded, then patch, then sync to head.
>>>
>>> On Fri, Jul 31, 2015 at 11:20 PM Nathan Wilson <nwilson20 at gmail.com>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> When trying to apply a patch via arc (arc patch D<Revision>), I get a
>>>> conflict. So, it looks like the output below. Is there a good way of
>>>> resolving it? Should I just modify the the file that has an issue by adding
>>>> what was approved in the Patch, run the tests, then do an arc commit?
>>>>
>>>> arc patch D11600
>>>> patching file test/SemaCXX/cxx-concept-declaration.cpp
>>>> Hunk #1 FAILED at 15.
>>>> 1 out of 1 hunk FAILED -- saving rejects to file
>>>> test/SemaCXX/cxx-concept-declaration.cpp.rej
>>>> patching file lib/Sema/SemaDecl.cpp
>>>> Hunk #1 succeeded at 5855 (offset 6 lines).
>>>>
>>>>  WARNING  Some hunks could not be applied cleanly by the unix 'patch'
>>>> utility. Your working copy may be different from the revision's base, or
>>>> you may be in the wrong subdirectory. You can export the raw patch file
>>>> using 'arc export --unified', and then try to apply it by fiddling with
>>>> options to 'patch' (particularly, -p), or manually. The output above, from
>>>> 'patch', may be helpful in figuring out what went wrong.
>>>>
>>>> I'd appreciate any help.
>>>>
>>>> Thanks,
>>>> Nate
>>>>
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150803/f73462c5/attachment.html>


More information about the cfe-dev mailing list