changeset 18303 | 4d1671b39168 |
parent 18267 | 5bb610f87d1d |
child 18548 | e71c2ff93167 |
--- a/mercurial/dispatch.py Thu Jan 03 21:07:04 2013 +0100 +++ b/mercurial/dispatch.py Fri Jan 11 20:34:54 2013 +0100 @@ -710,9 +710,7 @@ repo = hg.repository(ui, path=path) if not repo.local(): raise util.Abort(_("repository '%s' is not local") % path) - if not options['hidden']: - repo = repo.filtered('hidden') - else: + if options['hidden']: repo = repo.unfiltered() repo.ui.setconfig("bundle", "mainreporoot", repo.root) except error.RequirementError: