[PATCH 7 of 7] hgk: set a blocked tag when the user invokes view

Simon Farnsworth simonfar at fb.com
Mon Mar 6 06:28:08 EST 2017


# HG changeset patch
# User Simon Farnsworth <simonfar at fb.com>
# Date 1488799672 28800
#      Mon Mar 06 03:27:52 2017 -0800
# Node ID a24141da65e18e293bcd62f85f05050f01815942
# Parent  5b8f7a33145a182a4d4985972a8e4425eb20908f
hgk: set a blocked tag when the user invokes view

diff --git a/hgext/hgk.py b/hgext/hgk.py
--- a/hgext/hgk.py
+++ b/hgext/hgk.py
@@ -345,4 +345,4 @@
 
     cmd = ui.config("hgk", "path", "hgk") + " %s %s" % (optstr, " ".join(etc))
     ui.debug("running %s\n" % cmd)
-    ui.system(cmd)
+    ui.system(cmd, blockedtag='hgk_view')


More information about the Mercurial-devel mailing list