remote bookmarks confusion and hg-git
Bill Shannon
bill.shannon at oracle.com
Wed May 10 21:35:07 UTC 2017
Sean Farley wrote on 05/10/17 02:03 PM:
> 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.
I'm not on IRC.
My problems don't seem to be related to hg-git. The reason I *have*
bookmarks is because of hg-git and GitHub.
The problem seems to be moving bookmarks from one Mercurial repository
to another. It works when everything is local, but not when one is remote.
Maybe I just don't understand how bookmarks are *supposed* to work?
More information about the Mercurial
mailing list