remote-hg: properly mark branches up-to-date