Bundling tools together with hg for win32

Patrick Mézard pmezard at gmail.com
Tue Aug 21 15:04:29 CDT 2007


Steve Borho a écrit :
> On Wednesday 15 August 2007 5:00:04 pm Steve Borho wrote:
> Unfortunately I'm currently hung up on making MQ work on win32 with the 
> tip of crew or main.  There were some patches applied recently to make 
> gnuwin32-patch work correctly (by passing --binary), but those patches 
> dissapeared when the mpatch work was rolled in, and it's not obvious to 
> me how to make mpatch work correctly.  I haven't found any 
> documentation about how the patch code on the tip is expected to work.

The old code is still in crew, but not thoroughly tested. To activate 
it, set the ui.patch configuration option to the patch command to call like:

[ui]
patch = patch

The --binary options should still be passed under Windows.

mpatch is supposed to work out of the box. It evaluates its input in 
binary mode so you may have issues while trying to apply an LF patch to 
a CRLF source or the opposite. Otherwise, it should work, I use it every 
day with Windows CRLF sources or with mercurial LF codebase (using 
recent crew builds).

--
Patrick Mézard


More information about the Mercurial-devel mailing list