components/mercurial/patches/hgk.patch
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Mon, 11 Mar 2013 10:38:09 -0700
branchs11-update
changeset 2520 ceec631e74d1
parent 821 5450c885c205
child 4263 078df530ebdb
permissions -rw-r--r--
Close of build 10.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
821
5450c885c205 7167655 mercurial 2.2.1
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
     1
# 6542518 hg view does not work
5450c885c205 7167655 mercurial 2.2.1
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
     2
5450c885c205 7167655 mercurial 2.2.1
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
     3
--- mercurial-2.2.1/hgext/hgk.py	Thu May  3 14:06:28 2012
5450c885c205 7167655 mercurial 2.2.1
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
     4
+++ mercurial-2.2.1/hgext/hgk.py	Sat May 12 17:31:15 2012
5450c885c205 7167655 mercurial 2.2.1
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
     5
@@ -307,7 +307,7 @@
5450c885c205 7167655 mercurial 2.2.1
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
     6
     "start interactive history viewer"
5450c885c205 7167655 mercurial 2.2.1
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
     7
     os.chdir(repo.root)
5450c885c205 7167655 mercurial 2.2.1
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
     8
     optstr = ' '.join(['--%s %s' % (k, v) for k, v in opts.iteritems() if v])
5450c885c205 7167655 mercurial 2.2.1
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
     9
-    cmd = ui.config("hgk", "path", "hgk") + " %s %s" % (optstr, " ".join(etc))
5450c885c205 7167655 mercurial 2.2.1
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    10
+    cmd = ui.config("hgk", "path", "/usr/demo/mercurial/hgk") + " %s %s" % (optstr, " ".join(etc))
5450c885c205 7167655 mercurial 2.2.1
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    11
     ui.debug("running %s\n" % cmd)
5450c885c205 7167655 mercurial 2.2.1
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    12
     util.system(cmd)
5450c885c205 7167655 mercurial 2.2.1
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    13