TK Soh wrote:

> When converted to batch file, it stops running after the first hg
> operation (clone). It might have something to do with me running hg
> via hg.bat, but I don't have the explanation to this now. Same problem
> with .CMD file.

Bat-files called from a bat-file must be called with 'call', not 
directly, otherwise the call never returns.

Hope it helps
/Marcus

P.S. Additionally, getting the right error-level from bat-file run via 
cmd.exe also requires the use of 'call', i.e. 'cmd.exe call mine.bat'.



------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to