~sircmpwn/hg.sr.ht#25: 
Mercurial bookmarks aren't pushed

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
Status
RESOLVED INVALID
Submitter
~sschwarzer
Assigned to
Submitted
4 years ago
Updated
4 years ago
Labels
No labels applied.

~zash 4 years ago

ignored 11 secret changesets

Is master by any chance pointed at one of those secret changesets?

~zash 4 years ago

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

~sschwarzer 4 years ago

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.

~sschwarzer 4 years ago

As far as I'm concerned, you can close the ticket.

~ludovicchabant REPORTED INVALID 4 years ago

I believe anybody can close a ticket? Anyway, I'm closing it, thanks!

Register here or Log in to comment, or comment via email.