Reputation: 17433
With Mercurial, I want to pull all bookmarks from my remote repository and rebase the local commits of my current bookmark onto possibly new remote commits of my current bookmark.
hg pull --rebase
will pull all bookmarks, however usually fails to perform the correct rebase -- most likely it will try to rebase my local commits onto a different, completely unrelated bookmark for which new remote commits had been pulled.
hg pull -B <bookmark> --rebase
will only pull my current bookmark, but hence get the rebase right.
Which (sequence of) command(s) is necessary to achieve my goal?
Upvotes: 1
Views: 157
Reputation: 97282
I think, you can to see at hgremotenames extension, because it provides more Gitish-way of handling local+remote bookmarks, than default Mercurial style
Upvotes: 1