I want to get a list of all the bookmarks in a Mercurial repository with the "freshest" bookmarks at the top, where the "freshest" bookmark is the one that I've hg update
'd to most recently (and is, therefore, more likely to be one I want to pay attention to).
Is there a way I can use Mercurial to either (a) sort the list of bookmarks by latest commit, or (b) get a list of bookmarks together with each one's last-commit date, in some kind of machine-readable format?
This Stack Overflow post offers an excellent way to do this with Git, but doesn't help me for Mercurial.