This example shows how alias can be defined for clearing out bookmarks managed by hg-git prior to pulling.
I had taken this off a comment on an issue, and modified to eliminate errors when rerunning hg nukebookmarks
.
If you didn't know, mercurial supports partial matching (hg nuke
should work if no conflicting aliases/extensions are installed).