##// END OF EJS Templates
branch closing: permit closing the default branch...
John Mulligan -
r7728:b7ac53f7 default
parent child Browse files
Show More
@@ -852,8 +852,6 b' class localrepository(repo.repository):'
852 user = wctx.user()
852 user = wctx.user()
853 text = wctx.description()
853 text = wctx.description()
854
854
855 if branchname == 'default' and extra.get('close'):
856 raise util.Abort(_('closing the default branch is invalid'))
857 p1, p2 = [p.node() for p in wctx.parents()]
855 p1, p2 = [p.node() for p in wctx.parents()]
858 c1 = self.changelog.read(p1)
856 c1 = self.changelog.read(p1)
859 c2 = self.changelog.read(p2)
857 c2 = self.changelog.read(p2)
General Comments 0
You need to be logged in to leave comments. Login now