[BUG] hg import not working on windows

Volker Kleinfeld volker.kleinfeld at gmx.de
Mon Aug 22 14:44:15 CDT 2005


Hi,
I noticed when running hg import on windows that the 
popen("patch ... is failing. I run hg on a windows 2000
machine.

I found three items:
1. The name of the patch in popen is single quoted. Using
   double quotes helps
2. The patch command returns the file to be patched in quotes.
   Since the quotes are not removed repo.walk runs into problems.
3. I used dos2unix on patches which seems to break the patches.

Anybody seen similar problems?

Volker




More information about the Mercurial mailing list