Re: [PATCH v2 25/48] remote-hg: add test for diverged push

2013-05-24 Thread Eric Sunshine
On Fri, May 24, 2013 at 10:29 PM, Felipe Contreras wrote: > Neither mercurial nor git allows pushing to a remote when it's a > non-fast-forward push. We should be able to detect theses errors and s/theses/these/ > report them properly. > > As opposed to throwing an exception stack-trace. > > Sig

[PATCH v2 25/48] remote-hg: add test for diverged push

2013-05-24 Thread Felipe Contreras
Neither mercurial nor git allows pushing to a remote when it's a non-fast-forward push. We should be able to detect theses errors and report them properly. As opposed to throwing an exception stack-trace. Signed-off-by: Felipe Contreras --- contrib/remote-helpers/test-hg.sh | 23 +++