Bookmarks now show up in the PR dropdown menu on bitbucket

Nathan Goldbaum nathan12343 at gmail.com
Fri Aug 14 17:13:00 UTC 2015


Hi all,

I originally sent this e-mail to the development mailing list of a project
I work on, but Sean encouraged me to forward it here so the wider mercurial
community can see it. Most of our dev community isn't very familiar with
hg, so I added a mini bookmark tutorial inline, so you can likely safely
skip that if you're a mercurial aficionado already.

-Nathan

---------- Forwarded message ----------
From: Nathan Goldbaum <nathan12343 at gmail.com>
Date: Thu, Aug 13, 2015 at 5:22 PM
Subject: Bookmarks now show up in the PR dropdown menu on bitbucket
To: "yt-dev at lists.spacepope.org" <yt-dev at lists.spacepope.org>
Cc: Sean Farley <sean at farley.io>


Hey all,

With mercurial it's easy to get into a state where you have many heads,
each one corresponding to a different open pull request on bitbucket. Up
until now it's been sort of awful to use bitbucket with many heads, since
the branch dropdown menu in the pull request interface only showed
changeset hashes when a named branch has more than one head.

Now, thanks to Sean Farley at bitbucket, the PR dropdown menu looks like
this:

[image: Inline image 1]

If you don't use bookmarks, you might want to try it. When you're
developing a feature, you can do:

$ hg bookmark my-feature
# lots of commits, bookmark always points at the most recent commit
$ hg push -B my-feature https://bitbucket.org/my_account/yt

One nice feature of bookmarks is that you can push new remote heads with
"hg push -B" without force-pushing. And now they'll be much easier to find
when you go and make your pull request!

Even better, the "experimental" bookmark in the destination repository is
now clearly marked as such.

Thanks for your hard work Sean! I'm looking forward to more hg improvements
in the coming months :)

-Nathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial/attachments/20150814/50e55524/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 77092 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial/attachments/20150814/50e55524/attachment.png>


More information about the Mercurial mailing list