From: Felipe Contreras <felipe.contreras@gmail.com>
To: Tim Chase <git@tim.thechases.com>
Cc: git@vger.kernel.org
Subject: Re: coming from git, understanding mercurial branching
Date: Sat, 7 Sep 2013 19:42:46 -0500 [thread overview]
Message-ID: <CAMP44s3ypvEBWnsfN5c73wT8cvGhpTnd3vbmpPfn8GMb4FVLvQ@mail.gmail.com> (raw)
In-Reply-To: <20130906142927.279a994a@bigbox.christie.dr>
On Fri, Sep 6, 2013 at 2:29 PM, Tim Chase <git@tim.thechases.com> wrote:
> On 2013-09-06 17:51, Konstantin Khomoutov wrote:
>> I found this guide [1] very useful back in the time I tried to grok
>> Mercurial.
>>
>> 1.
>> http://stevelosh.com/blog/2009/08/a-guide-to-branching-in-mercurial/
I've written various blog posts about the subject:
http://felipec.wordpress.com/2011/01/16/mercurial-vs-git-its-all-in-the-branches/
http://felipec.wordpress.com/2012/05/26/no-mercurial-branches-are-still-not-better-than-git-ones-response-to-jhws-more-on-mercurial-vs-git-with-graphs/
http://felipec.wordpress.com/2013/08/27/analysis-of-hg-and-git-branches/
> Indeed, after reading it, that's the most sense I've been able to make
> of Mercurial's strange branching. I guess it boils down to the
> following rough heuristic:
>
> - if you want to dink around locally, but don't want to publish your
> branches (yet), default to bookmarks using "hg bookmark"
Kind of, but then they added support to push bookmarks, so now you can
fetch and push them, so not exactly local.
In addition, they are starting to think on adding remote namespaces,
like in Git, except that jon/devel becomes jon@devel.
> - once you want a branch to be public, consider making a "real"
> branch using "hg branch"
Not necessarily. You can merge or rebase, so "the public" doesn't see
the bookmark.
> - if you want complete isolation in case you screw up something like
> merging, use a clone
I guess so. There's also the option of using the 'mq' extension, which
I guess it's similar to quilt.
--
Felipe Contreras
prev parent reply other threads:[~2013-09-08 0:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-06 2:27 coming from git, understanding mercurial branching Tim Chase
2013-09-06 4:39 ` Tay Ray Chuan
2013-09-06 13:26 ` Tim Chase
2013-09-06 13:51 ` Konstantin Khomoutov
2013-09-06 16:40 ` Philip Oakley
2013-09-06 19:29 ` Tim Chase
2013-09-08 0:42 ` Felipe Contreras [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAMP44s3ypvEBWnsfN5c73wT8cvGhpTnd3vbmpPfn8GMb4FVLvQ@mail.gmail.com \
--to=felipe.contreras@gmail.com \
--cc=git@tim.thechases.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).