Mercurial Vs. Monotone & Darcs

Patrick Mézard pmezard at gmail.com
Wed Jul 11 07:27:07 CDT 2007


Kevin Greiner a écrit :
> 
> On 7/11/07, *Patrick Mézard* <pmezard at gmail.com 
> <mailto:pmezard at gmail.com>> wrote:
> 
> 
>     I would add the issues related to Windows text mode streams, like piping
>     diff or export or archive outputs.
> 
> 
> I'm a  Windows user and new here. Can you clarify these issues related 
> to streams or point me in the right direction? Most of the stuff I found 
> in the mailing list archives is related to supplying a default merge 
> program.

See the "urgent" http://www.selenic.com/mercurial/bts/issue250 for 
instance. Windows streams operate in text mode by default which makes 
them to replace LF by CRLF sequences and break outputs which cannot be 
changed that way like tar/gzip streams or diffs. This problem is really 
annoying with diff because there is no way to write them to files 
directly as opposed to export and archive.

I will probably try to switch all streams to binary mode at hg startup, 
unconditionnaly and fix anything which needs fixing from there. At least 
the situation will be similar to non-windows streams.

--
Patrick Mézard


More information about the Mercurial mailing list