mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
codereview: give advice on 'cannot create CL outside default branch'
Fixes #3430. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5981047
This commit is contained in:
parent
512aeb305e
commit
3b7feb7001
1 changed files with 1 additions and 1 deletions
|
|
@ -1309,7 +1309,7 @@ def change(ui, repo, *pats, **opts):
|
|||
name = "new"
|
||||
cl = CL("new")
|
||||
if repo[None].branch() != "default":
|
||||
return "cannot create CL outside default branch"
|
||||
return "cannot create CL outside default branch; switch with 'hg update default'"
|
||||
dirty[cl] = True
|
||||
files = ChangedFiles(ui, repo, pats, taken=Taken(ui, repo))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue