1
0
mirror of https://github.com/golang/go synced 2024-11-21 15:34:45 -07:00

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
This commit is contained in:
Eoghan Sherry 2010-12-15 11:49:43 -05:00 committed by Russ Cox
parent 0c54225b51
commit 2f8ff0b81d

View File

@ -471,7 +471,7 @@ def LoadCL(ui, repo, name, web=True):
set_status("loaded CL " + name) set_status("loaded CL " + name)
return cl, '' return cl, ''
global_status = "" global_status = None
def set_status(s): def set_status(s):
# print >>sys.stderr, "\t", time.asctime(), s # print >>sys.stderr, "\t", time.asctime(), s