changeset 18267 | 5bb610f87d1d |
parent 18227 | 720308f741cb |
child 18303 | 4d1671b39168 |
--- a/mercurial/dispatch.py Tue Jan 08 21:16:39 2013 +0100 +++ b/mercurial/dispatch.py Tue Jan 08 20:37:37 2013 +0100 @@ -710,6 +710,10 @@ 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: + repo = repo.unfiltered() repo.ui.setconfig("bundle", "mainreporoot", repo.root) except error.RequirementError: raise