mirror of
https://github.com/golang/go
synced 2024-11-24 23:37:56 -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:
parent
92c153d5f4
commit
037c03b537
@ -155,7 +155,8 @@ default_to_utf8()
|
||||
global_status = None
|
||||
|
||||
def set_status(s):
|
||||
# print >>sys.stderr, "\t", time.asctime(), s
|
||||
if verbosity > 0:
|
||||
print >>sys.stderr, time.asctime(), s
|
||||
global global_status
|
||||
global_status = s
|
||||
|
||||
@ -2213,6 +2214,7 @@ def reposetup(ui, repo):
|
||||
if codereview_init:
|
||||
return
|
||||
codereview_init = True
|
||||
start_status_thread()
|
||||
|
||||
# Read repository-specific options from lib/codereview/codereview.cfg or codereview.cfg.
|
||||
root = ''
|
||||
|
Loading…
Reference in New Issue
Block a user