remote-hg: cleanup check_push()

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
remote-hg: shuffle

To match upstream.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Add test to check on multiple versions

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>