--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/components/mercurial/patches/hgk.patch Sat May 12 17:40:35 2012 -0700
@@ -0,0 +1,13 @@
+# 6542518 hg view does not work
+
+--- mercurial-2.2.1/hgext/hgk.py Thu May 3 14:06:28 2012
++++ mercurial-2.2.1/hgext/hgk.py Sat May 12 17:31:15 2012
+@@ -307,7 +307,7 @@
+ "start interactive history viewer"
+ os.chdir(repo.root)
+ optstr = ' '.join(['--%s %s' % (k, v) for k, v in opts.iteritems() if v])
+- cmd = ui.config("hgk", "path", "hgk") + " %s %s" % (optstr, " ".join(etc))
++ cmd = ui.config("hgk", "path", "/usr/demo/mercurial/hgk") + " %s %s" % (optstr, " ".join(etc))
+ ui.debug("running %s\n" % cmd)
+ util.system(cmd)
+