Hgk and cygwin

Joe Bruce joe.bruce.psu at gmail.com
Wed Dec 27 15:01:44 CST 2006


On 12/27/06, Daniel Santa Cruz <byteshack at gmail.com> wrote:
>
> 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?


Hi Daniel,

I just tried this with Cygwin (very recent version) and Mercurial 0.9.1. The
'hgk' script is able to launch 'hg' now, but I suffer from the resize bug.

I even copied my 'geometry' values from my Linux ~/.gitk to my Cygwin
~/.gitk, but it starts up with all the canvas geometries messed up. When I
close the window, ~/.gitk ends up with all the canvas geometries set to -1
or -2 instead of the correct values. In fact, I can only resize the canvases
if I first erase ~/.gitk. If the file exists, I get resize "handles" but
they fail to move anything.

I will try again with Mercurial 0.9.3, as I imagine that gitk / hgk has been
updated since 0.9.1. I will post again once I try the new version...

Thanks,
Joe

PS - It worked the same with or without the 'path' value under the 'hgk'
section, but I have 'hgk' installed in /opt/vcs/bin along with 'hg', and
that directory is already in my bash PATH.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.selenic.com/pipermail/mercurial/attachments/20061227/73ebab8f/attachment.html


More information about the Mercurial mailing list