[issue301] Mercurial-90368f89340a on windows: win32text enabled by default

Raphaël Marmier mercurial-bugs at selenic.com
Thu Jun 29 10:24:20 UTC 2006


New submission from Raphaël Marmier <raphael at marmier.net>:

Mercurial-90368f89340a on windows: win32text enabled by default

On windows binary installer Mercurial-90368f89340a and later, when running under
both windows 2000 and XP, the win32text extention is enabled by default:
P:\pom>hg version
Mercurial Distributed SCM (version 90368f89340a)

P:\>hg version
Mercurial Distributed SCM (version 90368f89340a)

Copyright (C) 2005 Matt Mackall <mpm at selenic.com>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

P:\>hg debugconfig
encode.**=cleverencode:
decode.**=cleverdecode:
extensions.hgext.win32text=

As a result, when using a central repo on a linux host as a broker between
several windows based host, there is a potential for corruption if not all
mercurial version match.

Also, in such scenario, keeping windows line endings in text files in the
central repo is just intended and expected behaviour. When, new file are added
on a windows host, I understand that CR would be stripped on commit.

win32text should not be enabled by default

----------
messages: 1615
nosy: raphael
priority: urgent
status: unread
title: Mercurial-90368f89340a on windows: win32text enabled by default

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue301>
____________________________________________________




More information about the Mercurial mailing list