contribs
TK Soh
teekaysoh at yahoo.com
Wed Sep 28 23:25:35 CDT 2005
--- Matt Mackall <mpm at selenic.com> wrote:
> On Wed, Sep 28, 2005 at 08:26:39PM -0700, TK Soh wrote:
> > 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)
>
> If you login on the wiki, you can edit the UsingHgk page.
Did that.
> > 2. hgk needs to be in command search path (for hg view for find it)
>
> This works too:
>
> [hgk]
> path=/home/mpm/w/h/hg/contrib/hgk
Will add into wiki later too.
> > 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
>
> /usr/bin/env, please.
Here you go:
# HG changeset patch
# User TK Soh <teekaysoh at yahoo.com>
# Node ID 80bf3638ef2c79d465a187ac4e5f0f78ce188f56
# Parent 51ac9a79f3e5bda2c734106a7a221376f1331066
contrib/hgk: remove hardcoded path to Wish
diff -r 51ac9a79f3e5 -r 80bf3638ef2c contrib/hgk
--- a/contrib/hgk Tue Sep 27 18:30:54 2005 -0700
+++ b/contrib/hgk Thu Sep 29 12:28:57 2005 +0800
@@ -1,4 +1,4 @@
-#!/usr/bin/wish
+#!/usr/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