changeset 3084 | 75dcfe28da4a |
parent 3036 | adf7f3421c55 |
child 3275 | 7ae37d99d47e |
--- a/mercurial/sshrepo.py Wed Sep 13 08:57:08 2006 -0700 +++ b/mercurial/sshrepo.py Wed Sep 13 19:57:40 2006 +0200 @@ -32,13 +32,6 @@ remotecmd = self.ui.config("ui", "remotecmd", "hg") if create: - try: - self.validate_repo(ui, sshcmd, args, remotecmd) - except hg.RepoError: - pass - else: - raise hg.RepoError(_("repository %s already exists") % path) - cmd = '%s %s "%s init %s"' cmd = cmd % (sshcmd, args, remotecmd, self.path)