mercurial exit codes
mail at fabiantriefenbach.de
mail at fabiantriefenbach.de
Fri Jun 5 07:22:28 CDT 2009
Hello,
can I find a documentation of the hg commands and their return values?
I'm writing a lot batchfiles to automate a workflow on windows and
would like to use the %errorlevel% variable after calling hg commands.
But I'm a bit confused which values to expect. So, maybe youcan help me
out which commands return a value and under which conditions? Do you
return more than just an error/no error information?
just an example: When I pull, I would like to check:
- if error (i.e. no repo found etc) -> stop batch
- if no changes are found -> inform user
- if everything worked fine -> just go on
hopefully someone can provide a list with the values , thanks
More information about the Mercurial
mailing list