EOL extension and patch.eol

Martin Geisler mg at lazybytes.net
Tue Dec 8 03:44:56 CST 2009


Dirkjan Ochtman <dirkjan at ochtman.nl> writes:

> On Tue, Dec 8, 2009 at 02:19, Mark Hammond <skippy.hammond at gmail.com> wrote:
>> That said though, I wouldn't consider that to be a "blocker".  For my
>> interest though, does hg reopen stdout as binary?  Note that the script:
>
> I'm pretty sure we do.

We do, the 'hg' script has these lines:

  for fp in (sys.stdin, sys.stdout, sys.stderr):
      mercurial.util.set_binary(fp)

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.


More information about the Mercurial-devel mailing list