mercurial/localrepo.py
changeset 7728 b7ac53f7b061
parent 7709 752325f2208d
child 7787 b8d750daadde
--- a/mercurial/localrepo.py	Thu Feb 05 17:40:25 2009 +0100
+++ b/mercurial/localrepo.py	Sun Jan 25 13:20:43 2009 -0500
@@ -852,8 +852,6 @@
             user = wctx.user()
             text = wctx.description()
 
-            if branchname == 'default' and extra.get('close'):
-                raise util.Abort(_('closing the default branch is invalid'))
             p1, p2 = [p.node() for p in wctx.parents()]
             c1 = self.changelog.read(p1)
             c2 = self.changelog.read(p2)