mercurial/commands.py
changeset 10345 bc2866bdf3e0
parent 10340 2e9656d284cc
child 10346 e2db50cae6e6
--- a/mercurial/commands.py	Sat Feb 06 16:50:00 2010 +0100
+++ b/mercurial/commands.py	Sat Feb 06 19:00:50 2010 +0100
@@ -1419,9 +1419,6 @@
     closed = opts.get('closed')
     hideinactive, _heads = opts.get('active'), None
     if not branchrevs:
-        if closed:
-            raise error.Abort(_('you must specify a branch to use --closed'))
-        # Assume we're looking repo-wide heads if no revs were specified.
         heads = repo.heads(start)
 
     else: