File mercurial-hgk-path-fix.diff of Package mercurial.5472

--- contrib/hgk	2007-09-01 18:42:08.000000000 +0200
+++ contrib/hgk	2007-09-05 17:07:23.000000000 +0200
@@ -3637,6 +3637,10 @@
 }
 
 # defaults...
+if {![info exists env(HG)]} {
+    set env(HG) "hg"
+}
+
 set datemode 0
 set boldnames 0
 set diffopts "-U 5 -p"