[BUG] hg import not working on windows

Volker.Kleinfeld at gmx.de Volker.Kleinfeld at gmx.de
Tue Aug 30 16:28:21 CDT 2005


Hi All,
haven't seen any response on the below issue. If one has hg import 
running fine on windows, would be interesting to here about it. 
I haven't mentioned that I use patch.exe from the unxutils tools
perhaps there are better choices ?????.

/Volker  
---
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


_______________________________________________
Mercurial mailing list
Mercurial at selenic.com
http://selenic.com/mailman/listinfo/mercurial



More information about the Mercurial mailing list