Can't Redirect Mercurial stdout/stderr Under Windows 2012 R2 Noninteractive Session
Jensen, Aaron
ajensen at webmd.net
Tue Sep 23 21:57:45 UTC 2014
> Unless you or some other windows expert can figure out how to debug it,
> I would suggest replacing your complex wrapper script with a small
> extension that just modify merges. Or perhaps even simpler: let it run
> non-interactively and merge as it wants and then check the output
> whether it did some of the forbidden actions.
Unfortunately, I am not that expert and know of no one I can volunteer :-(
I don't understand what you mean by "small extension that just modify merges".
I'm going to try the command server (per Steve Barnes' suggestion). If that doesn't work, I'll end up running the merge with the --noninteractive switch and parsing the output for the prompts Mercurial puts up and aborting when they are present.
What I'd really like is more control over Mercurial in non-interactive mode. I'd like to tell Mercurial to answer yes to all questions, answer no to all questions, or just abort if it needs any input. [I've filed a feature request.](http://bz.selenic.com/show_bug.cgi?id=4383)
More information about the Mercurial
mailing list