equal
deleted
inserted
replaced
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: |