Message4310

Author jeanluc
Recipients dim, junkblocker, lch, mpm, pmezard, shamilbi, tksoh, tonfa, wsorenson
Date 2007-11-10.17:14:28
Content
This bug still appears in 0.95. It's problematic for Windows users because the 
Windows binary distribution can't be patched (and somewhat ironic since this is 
the only platform it's a problem for).

One workaround is to take the result of 'hg diff' and run it through the 
following Perl one-liner.

perl -pe "s/\015//" import.patch > import.corrected.patch

Because we're looking for 0D 0D 0A sequences, it would be preferable to use a 
sed sequence like s/\015\015\012/\015\012/, but stdio handling appears to be 
getting in the way; that sed pattern never matches for me. 

If anyone comes up with a better solution, please post it here.
History
Date User Action Args
2007-11-10 17:14:28jeanlucsetmessageid: <1194714868.67.0.584423695403.issue250@selenic.com>
2007-11-10 17:14:28jeanlucsetrecipients: + mpm, tonfa, tksoh, junkblocker, shamilbi, pmezard, lch, dim, wsorenson
2007-11-10 17:14:28jeanluclinkissue250 messages
2007-11-10 17:14:28jeanluccreate