Hgk and cygwin
Daniel Santa Cruz
byteshack at gmail.com
Wed Dec 27 19:24:44 UTC 2006
On 12/22/06, Steve Borho <steve at ageia.com> wrote:
> To summarize:
>
> hgk will work under windows if you:
>
> 1) Install Tcl/Tk
> 2) Rename (or copy) contrib/hgk to hgk.tcl
> 3) Add the path to hgk.tcl to Mercurial.ini
> 4a) Install the py2exe dist version of mercurial
>
> == OR ==
>
> 4b) Install the python version (using setup.py install) and create this
> batch file below and put it into your path.
>
> > * hg.bat containing
> > @c:\Python24\python.exe c:\Python24\Scripts\hg %*
The solution above works as long as you want to have multiple installs
of mercurial (one under windows and one under cygwin). After fiddling
with it a bit more, I got hgk to work wonderfully with cygwin (read:
with no funky resize bug at startup) with this setup:
* FILE: ~/.hgrc
[extensions]
hgext.hgk =
[hgk]
path=~/src/hg/mylocal/contrib/hgk
* FILE: hg.bat (put this file on a folder that is on your windows path)
@echo off
c:\local\software\cygwin\bin\bash -c "hg %*"
Yes... I know... kinda dirty. But, no extra magic required. Hgk
works as advertised. Can anyone else see if they can reproduce this?
Daniel.
More information about the Mercurial
mailing list