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