mercurial/localrepo.py
changeset 4206 0b48e3985765
parent 4205 a7af0eeae8a3
child 4209 dbc3846c09a1
child 4214 caff92047e87
--- 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"))