It seems that Mercurial bookmarks aren't pushed even if requested.
(bm
is defined as an alias for bookmark
in my ~/.hgrc
.)
$ hg bm
* master 55:e628ceaacbe1
$ hg push -B master ssh://hg@hg.sr.ht/~sschwarzer/vppdiff
pushing to ssh://hg@hg.sr.ht/~sschwarzer/vppdiff
searching for changes
no changes found (ignored 11 secret changesets)
exporting bookmark master
$ cd ..
$ rm -rf vppdiff2
$ hg clone ssh://hg@hg.sr.ht/~sschwarzer/vppdiff vppdiff2
requesting all changes
adding changesets
adding manifests
adding file changes
added 45 changesets with 46 changes to 5 files
new changesets 44de5497252e:df38be372399
updating to branch default
5 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ cd vppdiff2
$ hg bm
no bookmarks set
$ hg incoming -B ssh://hg@hg.sr.ht/~sschwarzer/vppdiff
comparing with ssh://hg@hg.sr.ht/~sschwarzer/vppdiff
searching for changed bookmarks
no changed bookmarks found
ignored 11 secret changesets
Is
master
by any chance pointed at one of those secret changesets?
It appears that mercurial says "exporting bookmark ..." even if the bookmark is pointed at a secret commit, which wouldn't be sent to the remote.
https://paste.sr.ht/%7Ezash/92e4750048a037eae8308ac15f2c52cc8371d1d5
Is master by any chance pointed at one of those secret changesets?
Oops, yes, you're right.
I just set
master
to the last public changeset, pushed again with-B
and it shows up in the Sourcehut web interface.
As far as I'm concerned, you can close the ticket.
I believe anybody can close a ticket? Anyway, I'm closing it, thanks!