]> Cypherpunks repositories - gostls13.git/commitdiff
codereview: set status while committing CL
authorRuss Cox <rsc@golang.org>
Thu, 11 Aug 2011 01:36:59 +0000 (21:36 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 11 Aug 2011 01:36:59 +0000 (21:36 -0400)
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

index adaff3287dfdc740d4ee68ee9c0dbcf09fffc1aa..63f67fff974ffb240a692ce9b1e1b46ff1f39668 100644 (file)
@@ -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: