Problem with win32text
shunichi.goto at gmail.com
Sat Mar 15 00:54:21 CDT 2008
2008/3/15, Michael Sperber <sperber at deinprogramm.de>:
> "Shun-ichi GOTO" <shunichi.goto at gmail.com> writes:
> > 2008/3/14, Michael Sperber <sperber at deinprogramm.de>:
> >> Here's a shell script that demonstrates the problem. (Works with a user
> >> .hgrc containing only the user name.)
> > I tried to run it.
> > On binmode mounted directory, the issue you described is appeared.
> > The script prints "M baz".
> > The file baz has LF line-ending, so this is not your case in first mail:
> >> - create a text file "baz" with CRLF encoding in foo
> Yes - that's why I said
> >> I see now that I really should have been more dilligent about
> >> documenting what I did, and that I misposted---sorry about that
> >> The problem is files that have LF line endings, not CR/LF.
... and sorry I overlooked your correction above.
> I don't know what a "binmode mounted directory" is: I just do this in a
> regular filesystem. Why should I expect the behavior I'm seeing as
# "binmode" / "textmode" is cygwin's mount option which is to be known
# for explaining line-ending of baz created by the shell script.
I've used the word 'reasonable' as 'known behaviour of current hg'.
So, I guess your problem is: "Why hg revert updates dirstate?".
And one of current workaround is provided in issue 374; "hg update -C".
If you think this issue as bug, please reopen issue 374 with describing
More information about the Mercurial