I am aware that you can close a Mercurial branch with:
hg update rev-number
hg commit --close-branch -m "Closing branch."
However, some of the repositories I work with a rather large, and after discovering a loose branch from years ago that I want to close, updating to it first can take many minutes (if not hours), only to do one commit and then update back to the original revision I was working from (more minutes, if not hours).
So my question, is there any way to close a Mercurial branch without updating the working directory to the branch revision first?