remote bookmarks confusion and hg-git

Bill Shannon bill.shannon at oracle.com
Wed May 10 19:56:19 UTC 2017


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?


More information about the Mercurial mailing list