Bookmarks BikeshedΒΆ

Proposal remote format hg pull behavior hg clone behavior hg book behavior Pros Cons
today lolwut local marks of matching name advance or are marked as divergent local mark produced for all remote bookmarks shows all local marks and divergent marks No work Yup.
1

remote/mark (default path)

remote/path/mark (other path)

local marks never move local marks are never produced shows no remote bookmarks

more comprehensible syntax [?]

Marks don’t move unexpectedly

Easy to see advancement

Can have many marks on server

Easier to delete remote bookmark accidentally

No indication of divergence (but can show in ‘hg sum’/’hg pull’) BC

Path segment on default disappears

2 mark@default mark@path local marks never move local marks never produced Shows remote bookmarks as “virtual” bookmarks when there is divergence (looks the same as present-day divergence behavior).

Keeps existing syntax - fewest changes we’re happy with

Marks don’t move unexpectedly

easy to see divergence

can have many marks on server

Postfix@ confusing [?]

BC

easier to delete remote bm accidentally

3 mark@default mark@path local marks move on pull when names match local marks produced for all bookmarks shows remote marks iff they are divergent from a local mark

“No” BCs

keeps syntax

postfix@ syntax

local bookmarks move under you

cloning ALL the marks!