mercurial - Windows support

Matt Mackall mpm at selenic.com
Thu May 26 04:58:31 UTC 2005


[cc:ed to mercurial list]

On Wed, May 25, 2005 at 09:09:03PM -0700, K Thananchayan wrote:
> Hi Matt,
> 
> Sorry for the previous incomplete mail.
> 
> I played with mercurial to see if it can be made to
> work on Windows. For the subset of commands that I was
> successful, with some changes. I am trying to get this
> working in a non cygwin environment.
> 
> Using the following setup:
>          python2.3
>          unxutils (sourceforge.net)    - cp, patch
>          patchutils (from gnuwin32-II) - lsdiff
>          rcs57pc1                      - merge
>          tkdiff (sourceforge.net)      - tkdiff.tcl
>          tclkit-win32                  - tcl
> 
> These were the problems I encountered:
>     1. missing __init__.py in mercurial package.
>     2. The .hg locator code went infinite loop
>        as windows files system is a forest with
>        drive specific roots.
>     3. Binary files require `b' as suffix in mode    
>        string
>     4. (mpatch.c) - Needs to be linked with
> wsock32.lib
>        and winsock2.h headers and a typedef for 
>        uint32_t instead of netinet/in.h       

Hmmm. Perhaps I can use something better than ntohl.
 
> Could you please apply the  patches that I will be
> emailing to you shortly so that standard distribution
> support Windows.
> 
> With the changes, I had success with
>      init, branch, mnerge, checkout, status, 
>      addremove, commit, history, klog, diff.
> 
> Hope that the patches are clean enough for you to
> apply.

I look forward to your patches. I suggest you join the mailing list
and send them there. There's a web interface at
http://selenic.com/mailman/listinfo/mercurial.

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial mailing list