Custom tool to push to the selected peer repository

Issue #4869 open
Arun Chandrasekaran
created an issue

I'm trying to add a new custom tool to push a selected rev to a selected fork.

How do I do this with thg?

The command I added is: hg push -r {REV}

But this always pushes to the default repo. Which variable should I use to specify the selected repo? I've tried hg push {REPO} -r {REV}. Looks {REPO} is not recognized as a variable.