[issue887] MQ doesn't play nicely with win32text

Mike Sperber mercurial-bugs at selenic.com
Thu Dec 20 01:35:32 CST 2007

New submission from Mike Sperber <sperber at deinprogramm.de>:

I can't get MQ to play nicely with text encoding/decoding: On files with
CRLF encoding/decoding, patching always fails---regardless of whether I
use the internal patcher or GnuWin32's.

Issue483 is related, but the fix there does nothing for MQ.

A reply from Patrick Mézard says:

You are right, the issue is still the same: the patches are generated from the 
repository file version while the patching code operates on the working 
directory, thus the LF/CRLF discrepancy. It can be fixed by making the patching 
code roundtripping through encoding/decoding filters. As stated in the related 
issue, this would be easier now patches are handled internally. Could you open 
an issue about that ?

messages: 4653
nosy: sperber
priority: urgent
status: unread
title: MQ doesn't play nicely with win32text
topic: mq, patch, windows

Mercurial issue tracker <mercurial-bugs at selenic.com>

More information about the Mercurial-devel mailing list