--- a/mercurial/localrepo.py Sat Mar 10 17:36:29 2007 -0800
+++ b/mercurial/localrepo.py Tue Mar 13 15:02:33 2007 -0300
@@ -17,7 +17,7 @@
class localrepository(repo.repository):
capabilities = ('lookup', 'changegroupsubset')
supported = ('revlogv1', 'store')
- branchcache_features = ('unnamed',)
+ branchcache_features = ('default',)
def __del__(self):
self.transhandle = None
@@ -727,7 +727,7 @@
branchname = ""
if use_dirstate:
- oldname = c1[5].get("branch", "") # stored in UTF-8
+ oldname = c1[5].get("branch") or "default" # 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"))