diff mercurial/commands.py @ 4176:f9bbcebcacea

"default" is the default branch name
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Tue, 13 Mar 2007 15:02:33 -0300
parents a2335e832e16
children 7e1c8a565a4f
line wrap: on
line diff
--- a/mercurial/commands.py	Sat Mar 10 17:36:29 2007 -0800
+++ b/mercurial/commands.py	Tue Mar 13 15:02:33 2007 -0300
@@ -1447,7 +1447,7 @@
     if not ui.quiet:
 
         branch = util.tolocal(repo.workingctx().branch())
-        if branch:
+        if branch != 'default':
             output.append("(%s)" % branch)
 
         # multiple tags for a single parent separated by '/'