From d118905c2c1887a943a9e5e15707f45468a101ce Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Wed, 10 Aug 2011 21:36:59 -0400 Subject: [PATCH] codereview: set status while committing CL Not sure how to detect read-only but at least this pins the blame on the hg server. R=r, bradfitz CC=golang-dev https://golang.org/cl/4847053 --- lib/codereview/codereview.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/codereview/codereview.py b/lib/codereview/codereview.py index adaff3287d..63f67fff97 100644 --- a/lib/codereview/codereview.py +++ b/lib/codereview/codereview.py @@ -1722,6 +1722,7 @@ def submit(ui, repo, *pats, **opts): print Indent('\n'.join(cl.files), "\t") return "dry run; not submitted" + set_status("pushing " + cl.name + " to remote server") m = match.exact(repo.root, repo.getcwd(), cl.files) node = repo.commit(ustr(opts['message']), ustr(userline), opts.get('date'), m) if not node: