1
0
mirror of https://github.com/golang/go synced 2024-11-24 23:47:55 -07:00

codereview: re-enable 15-second status prints

Also print all status changes when using hg -v.

The start_status_thread call was lost during the refactoring in
https://golang.org/cl/5395044/diff/6006/lib/codereview/codereview.py
Oops.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/7834044
This commit is contained in:
Russ Cox 2013-03-15 16:33:04 -04:00
parent 92c153d5f4
commit 037c03b537

View File

@ -155,7 +155,8 @@ default_to_utf8()
global_status = None global_status = None
def set_status(s): def set_status(s):
# print >>sys.stderr, "\t", time.asctime(), s if verbosity > 0:
print >>sys.stderr, time.asctime(), s
global global_status global global_status
global_status = s global_status = s
@ -2213,6 +2214,7 @@ def reposetup(ui, repo):
if codereview_init: if codereview_init:
return return
codereview_init = True codereview_init = True
start_status_thread()
# Read repository-specific options from lib/codereview/codereview.cfg or codereview.cfg. # Read repository-specific options from lib/codereview/codereview.cfg or codereview.cfg.
root = '' root = ''