remote-hg: pass around revision refs
authorFelipe Contreras <redacted>
Sat, 25 May 2013 02:29:51 +0000 (21:29 -0500)
committerJunio C Hamano <redacted>
Tue, 28 May 2013 15:02:05 +0000 (08:02 -0700)
commit883d7be110968c0d319dfa7c595c640e616da9c5
tree7c2cf14b55cfe465243f3c273708475af9d87063
parent19a8cefc44b216db5cf8faf790d197c85db6395e
remote-hg: pass around revision refs

So that when a diverge is detected, we know which ref to report an error
for.

Also, since we are not throwing an exception, return a proper error
code.

Signed-off-by: Felipe Contreras <redacted>
Signed-off-by: Junio C Hamano <redacted>
contrib/remote-helpers/git-remote-hg
contrib/remote-helpers/test-hg.sh
git clone https://git.99rst.org/PROJECT