remote-hg: split bookmark handling