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

login
register
mail settings
Submitter Simon Farnsworth
Date March 6, 2017, 11:28 a.m.
Message ID <a24141da65e18e293bcd.1488799688@devvm022.lla2.facebook.com>
Download mbox | patch
Permalink /patch/18939/
State Accepted
Headers show

Comments

Simon Farnsworth - March 6, 2017, 11:28 a.m.
# HG changeset patch
# User Simon Farnsworth <simonfar@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
Augie Fackler - March 7, 2017, 5:26 p.m.
On Mon, Mar 06, 2017 at 03:28:08AM -0800, Simon Farnsworth wrote:
> # HG changeset patch
> # User Simon Farnsworth <simonfar@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

Queued, thanks.

>
> 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')
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel@mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Patch

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')