changeset 3081 | 75dcfe28da4a |
parent 3033 | adf7f3421c55 |
child 3274 | 7ae37d99d47e |
--- a/mercurial/sshrepo.py +++ b/mercurial/sshrepo.py @@ -32,13 +32,6 @@ class sshrepository(remoterepository): 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)