diff -r ab618e52788a -r 701df761aa94 mercurial/commands.py --- a/mercurial/commands.py Tue May 19 13:08:21 2015 -0700 +++ b/mercurial/commands.py Fri May 22 17:08:59 2015 -0500 @@ -1107,8 +1107,13 @@ scmutil.checknewlabel(repo, label, 'branch') repo.dirstate.setbranch(label) ui.status(_('marked working directory as branch %s\n') % label) - ui.status(_('(branches are permanent and global, ' - 'did you want a bookmark?)\n')) + + # find any open named branches aside from default + others = [n for n, h, t, c in repo.branchmap().iterbranches() + if n != "default" and not c] + if not others: + ui.status(_('(branches are permanent and global, ' + 'did you want a bookmark?)\n')) finally: wlock.release()