[webkit-dev] WebCore has moved: How to avoid merge conflicts

Dimitri Glazkov dglazkov at chromium.org
Sat Jan 8 09:44:12 PST 2011


Thanks for your hard work, Adam!

I tried this morning to follow your steps. It worked great, except
there were a few .orig files left after webkit-patch had run. I
removed them by hand and was on my way.

:DG<

On Sat, Jan 8, 2011 at 2:47 AM, Adam Barth <abarth at webkit.org> wrote:
> As of r75314, WebCore is now located in Source/WebCore.
> If you have outstanding patches to WebCore, here's what you can
> do to avoid merge conflicts:
>
> 1) *BEFORE* updating past r75314, create a patch for your change,
> either with svn-create-patch or by uploading your patch to
> bugs.webkit.org with webkit-patch.
>
> 2) Clean your working copy.  I recommend using "webkit-patch clean",
> but you can also use svn-unapply, "svn revert", "git reset", or
> whatever you're most confortable with.
>
> 3) Update to top-of-tree.
>
> 4) Apply your patch using svn-apply or "webkit-patch
> apply-attachment".  As of r75315, svn-apply is smart enough to
> magically apply the WebCore parts of your patch to
> Source/WebCore.
>
> Please let me know if you have any merge trouble.  Hopefully we've got
> things set up so that the move is relatively painless.  Thanks again
> for your patience.
>
> Adam
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>


More information about the webkit-dev mailing list