diff options
author | Russ Cox <rsc@golang.org> | 2013-03-15 16:33:04 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2013-03-15 16:33:04 -0400 |
commit | 037c03b53734cbf2606ddbfe31b9b45a36cc1f14 (patch) | |
tree | c2aa7b6bb4918667b1aacc92822431a7eb36c9b6 /lib | |
parent | 92c153d5f4fcc6aac88916f4b21186f8428fdc26 (diff) | |
download | go-git-037c03b53734cbf2606ddbfe31b9b45a36cc1f14.tar.gz |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/codereview/codereview.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/codereview/codereview.py b/lib/codereview/codereview.py index 4b6014505f..11766fcb23 100644 --- a/lib/codereview/codereview.py +++ b/lib/codereview/codereview.py @@ -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 = '' |