contribs

TK Soh teekaysoh at yahoo.com
Wed Sep 28 22:26:39 CDT 2005


--- Matt Mackall <mpm at selenic.com> wrote:
> On Wed, Sep 28, 2005 at 04:54:47PM -0700, TK Soh wrote:
> > --- Matt Mackall <mpm at selenic.com> wrote:
> > > On Wed, Sep 28, 2005 at 03:44:16PM +0200, Vadim Lebedev wrote:
> > > > Hi,
> > > > 
> > > > It would be nice to have some kind of installation instructions for the
> 
> > > > stuff in contrib...
> > > > 
> > > > I'm trying to use hgk without success...
> > > 
> > > For the most part, docs now live on the wiki. See the ExtensionHowto,
> > > which uses hgk as an example.
> > 
> > I tried to follow it, but can't get the view command with latest tip. Also,
> the
> > section about "hgit" isn't very clear - hg complains "failed to import
> > extension hgk". And I can't find hgit in the installation directory.
> 
> The extension is named hgk.py, not hgk. And hgit is gone.

Okay, got it do work. Here's what I found (#1 ans #2 probably should be
mentioned in hgk or some doc):

1. hgk requires Wish 8.4 (for panedWindow widget)
2. hgk needs to be in command search path (for hg view for find it)
3. hgk's #! line should use /bin/env, since wish not always
   installed in the 'standard' location.

--- a/contrib/hgk       Tue Sep 27 18:30:54 2005 -0700
+++ b/contrib/hgk       Thu Sep 29 11:18:51 2005 +0800
@@ -1,4 +1,4 @@
-#!/usr/bin/wish
+#!/bin/env wish

 # Copyright (C) 2005 Paul Mackerras.  All rights reserved.
 # This program is free software; it may be used, copied, modified



		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


More information about the Mercurial mailing list