mercurial/commands.py
branchstable
changeset 10596 7648f32713f2
parent 10579 f142fa3c0a8c
child 10611 e764f24a45ee
child 10616 65b178f30eae
--- a/mercurial/commands.py	Sat Mar 06 21:29:02 2010 -0800
+++ b/mercurial/commands.py	Tue Jan 12 22:49:10 2010 +0900
@@ -451,7 +451,7 @@
         if not opts.get('force') and utflabel in repo.branchtags():
             if label not in [p.branch() for p in repo.parents()]:
                 raise util.Abort(_('a branch of the same name already exists'
-                                   ' (use --force to override)'))
+                                   " (use 'hg update' to switch to it)"))
         repo.dirstate.setbranch(utflabel)
         ui.status(_('marked working directory as branch %s\n') % label)
     else: