Commit 3b7feb70 authored by Russ Cox's avatar Russ Cox

codereview: give advice on 'cannot create CL outside default branch'

Fixes #3430.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5981047
parent 512aeb30
......@@ -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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment