remote bookmarks confusion and hg-git

Sean Farley sean at farley.io
Wed May 10 21:03:13 UTC 2017


Bill Shannon <bill.shannon at oracle.com> writes:

> I have a Mercurial repository for which I used hg-git to push it to GitHub.
> I used git to create a gh-pages branch in the repository, which I then pulled
> back to the original Mercurial repository.  This showed up in Mercurial as
> "master" and "gh-pages" bookmarks.
>
> $ hg bookmarks
>    gh-pages                  943:fbd5759835c2
>  * master                    941:d7e9b0bd13b4
> $ hg branches
> default                      943:fbd5759835c2
>
> This all seems to work as expected when pushing to GitHub.
>
> If I clone the repository locally, the clone includes the bookmarks.
>
> But if I push the repository to a remote Mercurial repository, the remote
> doesn't get any of the bookmarks.  Further clones of that remote repository
> are obviously missing the bookmarks.
>
> I'm using Mercurial version 3.8.3 locally and 3.7.3 and 3.4 remotely,
> all on Solaris.
>
> Do I need to do something special to cause bookmarks to be pushed and
> retained in remote Mercurial repositories?

This is a bit of a sore spot / work in progress. You can see my work to
bring remote bookmarks into hg-git here:

https://bitbucket.org/seanfarley/hg-git/commits/all

If you're on IRC #mercurial, I and / or others could help get a workflow
down for you.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20170510/3b61f234/attachment.asc>


More information about the Mercurial mailing list