mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00: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
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue