mirror of
https://github.com/golang/go
synced 2024-11-21 22:24:40 -07:00
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
This commit is contained in:
parent
c02423902d
commit
d118905c2c
@ -1722,6 +1722,7 @@ def submit(ui, repo, *pats, **opts):
|
|||||||
print Indent('\n'.join(cl.files), "\t")
|
print Indent('\n'.join(cl.files), "\t")
|
||||||
return "dry run; not submitted"
|
return "dry run; not submitted"
|
||||||
|
|
||||||
|
set_status("pushing " + cl.name + " to remote server")
|
||||||
m = match.exact(repo.root, repo.getcwd(), cl.files)
|
m = match.exact(repo.root, repo.getcwd(), cl.files)
|
||||||
node = repo.commit(ustr(opts['message']), ustr(userline), opts.get('date'), m)
|
node = repo.commit(ustr(opts['message']), ustr(userline), opts.get('date'), m)
|
||||||
if not node:
|
if not node:
|
||||||
|
Loading…
Reference in New Issue
Block a user