mercurial/dispatch.py
changeset 18303 4d1671b39168
parent 18267 5bb610f87d1d
child 18548 e71c2ff93167
equal deleted inserted replaced
18302:16c642a6f07d 18303:4d1671b39168
   708         else:
   708         else:
   709             try:
   709             try:
   710                 repo = hg.repository(ui, path=path)
   710                 repo = hg.repository(ui, path=path)
   711                 if not repo.local():
   711                 if not repo.local():
   712                     raise util.Abort(_("repository '%s' is not local") % path)
   712                     raise util.Abort(_("repository '%s' is not local") % path)
   713                 if not options['hidden']:
   713                 if options['hidden']:
   714                     repo = repo.filtered('hidden')
       
   715                 else:
       
   716                     repo = repo.unfiltered()
   714                     repo = repo.unfiltered()
   717                 repo.ui.setconfig("bundle", "mainreporoot", repo.root)
   715                 repo.ui.setconfig("bundle", "mainreporoot", repo.root)
   718             except error.RequirementError:
   716             except error.RequirementError:
   719                 raise
   717                 raise
   720             except error.RepoError:
   718             except error.RepoError: