编辑: Mercurial 版本是 2.7
EDIT2:我在这里有不同的书签,但想删除其中一个而不是合并它们。
我读到我可以foo
使用删除远程书签
hg book -d foo
hg push -B foo
请告诉我我在这里做错了什么,同时尝试在@default
本地删除书签(有效),然后远程删除(无效,因此在下次拉动时再次恢复):
$ hg pull
pulling from /tmp/foo/base
searching for changes
no changes found
divergent bookmark @ stored as @default
$ hg book
* @ 8:d7a82de9f7c9
@default 9:c12daad73af2
$ hg book -d @default
$ hg book
* @ 8:d7a82de9f7c9
$ hg push -B @default
pushing to /tmp/foo/base
searching for changes
no changes found
bookmark @default does not exist on the local or remote repository!
$ hg in -B
comparing with /tmp/foo/base
searching for changed bookmarks
no changed bookmarks found
$ hg out -B
comparing with /tmp/foo/base
searching for changed bookmarks
no changed bookmarks found
$ hg pull
pulling from /tmp/foo/base
searching for changes
no changes found
divergent bookmark @ stored as @default
$ hg book
* @ 8:d7a82de9f7c9
@default 9:c12daad73af2
谢谢!