Show More
@@ -710,9 +710,7 b' def _dispatch(req):' | |||
|
710 | 710 | repo = hg.repository(ui, path=path) |
|
711 | 711 | if not repo.local(): |
|
712 | 712 | raise util.Abort(_("repository '%s' is not local") % path) |
|
713 |
if |
|
|
714 | repo = repo.filtered('hidden') | |
|
715 | else: | |
|
713 | if options['hidden']: | |
|
716 | 714 | repo = repo.unfiltered() |
|
717 | 715 | repo.ui.setconfig("bundle", "mainreporoot", repo.root) |
|
718 | 716 | except error.RequirementError: |
@@ -113,7 +113,7 b" def repository(ui, path='', create=False" | |||
|
113 | 113 | if not repo: |
|
114 | 114 | raise util.Abort(_("repository '%s' is not local") % |
|
115 | 115 | (path or peer.url())) |
|
116 | return repo | |
|
116 | return repo.filtered('hidden') | |
|
117 | 117 | |
|
118 | 118 | def peer(uiorrepo, opts, path, create=False): |
|
119 | 119 | '''return a repository peer for the specified path''' |
General Comments 0
You need to be logged in to leave comments.
Login now