mercurial/dispatch.py
changeset 30519 20a42325fdef
parent 30500 fc0cfe6c87d7
child 30520 4338f87dbf6f
equal deleted inserted replaced
30518:a8b17859684a 30519:20a42325fdef
   878                                 req.args = ['--repository', guess] + fullargs
   878                                 req.args = ['--repository', guess] + fullargs
   879                                 return _dispatch(req)
   879                                 return _dispatch(req)
   880                         if not path:
   880                         if not path:
   881                             raise error.RepoError(_("no repository found in"
   881                             raise error.RepoError(_("no repository found in"
   882                                                     " '%s' (.hg not found)")
   882                                                     " '%s' (.hg not found)")
   883                                                   % os.getcwd())
   883                                                   % pycompat.getcwd())
   884                         raise
   884                         raise
   885             if repo:
   885             if repo:
   886                 ui = repo.ui
   886                 ui = repo.ui
   887                 if options['hidden']:
   887                 if options['hidden']:
   888                     repo = repo.unfiltered()
   888                     repo = repo.unfiltered()