Use ``-r=...`` instead of ``-r ...`` to specify references with Mercurial.