Problem with win32text

Michael Sperber sperber at
Fri Mar 7 01:28:53 CST 2008

Here's a recipe to create an oddity with win32text:

- hg init foo
- put this into foo/.hg/hgrc:

win32text =
** = cleverencode:
** = cleverdecode:

- create a text file "baz" with CRLF encoding in foo
- hg add baz
- hg commit -m "initial" baz
- rm baz
- hg revert baz

After this, "hg status" tells me:

M baz

However, "hg diff" gives zero output.  After "hg commit", I get:

> hg log -prtip
changeset:   2:540fc28e78bd
tag:         tip
user:        Mike Sperber <sperber at>
date:        Fri Mar 07 08:27:29 2008 +0100
summary:     strange

(I.e. no patch output.)

Also, the contents of the file looks perfectly fine.

I can't find anything related to this in Roundup - should I create an
issue, or am I doing something wrong?

Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla

More information about the Mercurial mailing list