I plan to get hgk to work.However, no matter how I configure the redhat linux, it still does not have any response. Here is information for my machine.
- RedHat 5.3
- Mercurial 1.8.1-1
- I installed mercurial-hgk_1.8.1-1.elf5.x86_64.rpm by rpm and it generated a
When I typed
hg help, it didn't show the view..etc the additional extensions commands. Here are things I have tried.
Manually created a
.hgrcfile at home directory and put the configuration as
[extensions] hgk = /usr/lib64/python2.4/site-packages/hgext/hgk.py
Add all these configurations at hgrc files of my local repository such at
Nothing happened — When I typed
hg help or
hg view, the mercurial still does not recognize the additional
hgk. Here are the outputs.
Error in startup script: can't read "env(HG)": no such variable while executing "exec $env(HG) debug-config" (procedure "getconfig" line 4) invoked from within "getconfig" invoked from within "array set config [getconfig]" (file "/usr/bin/hgk" line 4054)
rpm -ql mercurial | grep bin and here are the outputs.
python -c 'import sys; print sys.path and here are the outputs.
['', '/usr/lib64/python24.zip', '/usr/lib64/python2.4', '/usr/lib64/python2.4/plat-linux2', '/usr/lib64/python2.4/lib-tk', '/usr/lib64/python2.4/lib-dynload', '/usr/lib64/python2.4/site-packages', '/usr/lib64/python2.4/site-packages/Numeric', '/usr/lib64/python2.4/site-packages/gtk-2.0', '/usr/lib/python2.4/site-packages']