remote-hg:  more error catching

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
remote-hg: check if we don't have marks

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