windows mercurial 3.3 not downloadable

anton antonxx at gmx.de
Mon Feb 9 17:31:03 UTC 2015


Hmm no idea what happened here,

but I called hg from a python script (for mulitiple repos)
something like:

ret=os.system("hg push hgtarget")
if ret != =:
  print "ERROR bla bla"


And all the time this worked.
I always used the so called source install exe's like

mercurial-3.2.3.win32-py2.7.exe

So if something was broken ... it was broken in the original install?

Whatever, if 1 what it should be so its OK.

Thanks.



Yuya Nishihara wrote:

> On Sun, 08 Feb 2015 11:54:26 +0100, anton wrote:
>>  1.hg push returns 1 as exit code if there
>>    is nothing to push (which is not an
>>    error)
>>    the previous version < 3.3. returned 0
>>    in the same case.
> 
> AFAIK, it should be 1 since 2.1.
> http://selenic.com/repo/hg/rev/90f8b8dd0326
> 
> Maybe you were using buggy hg.bat that ate up exit code?
> 
>>    In case of an error 255 seems to be returned.
>>    Is there a list of exit codes?
>>    I didnt find anything in the docs.
> 
> Described in "hg help <command>". 255 is the code for general error.
> 
> Regards,
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial





More information about the Mercurial mailing list