* lisp/vc/vc-hg.el (vc-hg-working-revision): Rework to work with both