From 2f8ff0b81d38d2039c1827fd8b0744ff70c09497 Mon Sep 17 00:00:00 2001 From: Eoghan Sherry Date: Wed, 15 Dec 2010 11:49:43 -0500 Subject: [PATCH] codereview: keep quiet when not in use This prevents status messages from filling the screen when using a command like 'hg log | less'. R=rsc CC=golang-dev https://golang.org/cl/3666042 --- lib/codereview/codereview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/codereview/codereview.py b/lib/codereview/codereview.py index b4b085fc71e..e8c84abec29 100644 --- a/lib/codereview/codereview.py +++ b/lib/codereview/codereview.py @@ -471,7 +471,7 @@ def LoadCL(ui, repo, name, web=True): set_status("loaded CL " + name) return cl, '' -global_status = "" +global_status = None def set_status(s): # print >>sys.stderr, "\t", time.asctime(), s