diff mercurial/localrepo.py @ 4206:0b48e3985765

Minor default branch cleanups
author Matt Mackall <mpm@selenic.com>
date Tue, 13 Mar 2007 15:47:55 -0500
parents a7af0eeae8a3
children dbc3846c09a1 caff92047e87
line wrap: on
line diff
--- a/mercurial/localrepo.py
+++ b/mercurial/localrepo.py
@@ -709,7 +709,7 @@ class localrepository(repo.repository):
             branchname = ""
 
         if use_dirstate:
-            oldname = c1[5].get("branch") or "default" # stored in UTF-8
+            oldname = c1[5].get("branch") # stored in UTF-8
             if not commit and not remove and not force and p2 == nullid and \
                    branchname == oldname:
                 self.ui.status(_("nothing changed\n"))