remote-hg: pass around revision refs