On Fri, Aug 17, 2012 at 3:57 PM, Sean McLaughlin <
sea...@gmail.com> wrote:
> Hi,
>
> I need to make a change to core to support some features on OSX.
>
> 1) Is cloning the ocaml-core-submissions queue is the way forward in
> contributing to core?
Basically, yes. But it requires a certain procedure with Bitbucket.
Here is some documentation:
http://ches.nausicaamedia.com/articles/technogeekery/using-mercurial-queues-and-bitbucket-org
> 2) Why is yminsky/ocaml-core-submissions unrelated to
> mmottl/ocaml-core-submissions?
You have to make sure to relate the right repositories. With patch
queues there are really two of those: the "normal" repository for the
source tree and the patch queue repository in .hg/patches. Most
Mercurial commands take a "--mq" flag to make sure that you are
performing some operation on the queue repository, not the "normal"
one. You can also "cd" into the patch queue repository and then treat
it like a normal one (without "--mq").
My local source tree configuration in .hg/hgrc (default path) always
points to the original yminsky/ocaml-core-submissions repository at
Bitbucket. But my patch queue repository configuration in
.hg/patches/.hg/hgrc points to my patch queue at Bitbucket. That way
I can make sure to stay up-to-date wrt. the source tree, but my
patches will be pushed to my patch queue repository. I can then send
pull requests via the web interface to Ron.
There is a slight initial learning curve with Bitbucket patch queues.
But once everything is set up correctly, it's really easy to use.
Cheers,
Markus
--
Markus Mottl
http://www.ocaml.info markus...@gmail.com