changeset 4671 | 150afe6becf6 |
parent 4670 | 850950e59b52 |
child 4686 | 849f011dbf79 |
--- a/mercurial/cmdutil.py Thu Jun 21 13:09:00 2007 -0500 +++ b/mercurial/cmdutil.py Thu Jun 21 13:09:01 2007 -0500 @@ -321,7 +321,7 @@ try: repo = hg.repository(ui, path=path) ui = repo.ui - if not repo.local() and cmd not in commands.remoterepo.split(): + if not repo.local(): raise util.Abort(_("repository '%s' is not local") % path) except hg.RepoError: if cmd not in commands.optionalrepo.split():