hgk: Allow specifying hgk path in [hgk]path
authormpm@selenic.com
Fri, 23 Sep 2005 19:41:45 -0700
changeset 1345 c5594ff3f95c
parent 1344 ca0e27e05de3
child 1346 88a9c75dc76a
hgk: Allow specifying hgk path in [hgk]path
contrib/hgk.py
--- a/contrib/hgk.py	Fri Sep 23 19:38:21 2005 -0700
+++ b/contrib/hgk.py	Fri Sep 23 19:41:45 2005 -0700
@@ -316,7 +316,7 @@
 def view(ui, repo, *etc):
     "start interactive history viewer"
     os.chdir(repo.root)
-    os.system("hgk " + " ".join(etc))
+    os.system(ui.config("hgk", "path", "hgk") + " " + " ".join(etc))
 
 cmdtable = {
     "view": (view, [], 'hg view'),