equal
deleted
inserted
replaced
101 |
101 |
102 # accept old "text/plain" and "application/hg-changegroup" for now |
102 # accept old "text/plain" and "application/hg-changegroup" for now |
103 if not (proto.startswith('application/mercurial-') or |
103 if not (proto.startswith('application/mercurial-') or |
104 proto.startswith('text/plain') or |
104 proto.startswith('text/plain') or |
105 proto.startswith('application/hg-changegroup')): |
105 proto.startswith('application/hg-changegroup')): |
106 self.ui.debug(_("Requested URL: '%s'\n") % cu) |
106 self.ui.debug(_("requested URL: '%s'\n") % cu) |
107 raise error.RepoError(_("'%s' does not appear to be an hg repository") |
107 raise error.RepoError(_("'%s' does not appear to be an hg repository") |
108 % self._url) |
108 % self._url) |
109 |
109 |
110 if proto.startswith('application/mercurial-'): |
110 if proto.startswith('application/mercurial-'): |
111 try: |
111 try: |