components/mercurial/patches/hgk.patch
changeset 821 5450c885c205
child 4263 078df530ebdb
--- /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
[email protected]@ -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)
+