equal
deleted
inserted
replaced
188 # try to provoke an exception if this isn't really a hg |
188 # try to provoke an exception if this isn't really a hg |
189 # repo, but some other bogus compatible-looking url |
189 # repo, but some other bogus compatible-looking url |
190 self.repo.heads() |
190 self.repo.heads() |
191 except hg.RepoError: |
191 except hg.RepoError: |
192 ui.print_exc() |
192 ui.print_exc() |
193 raise NoRepo("could not open hg repo %s as source" % path) |
193 raise NoRepo("%s does not look like a Mercurial repo" % path) |
194 self.lastrev = None |
194 self.lastrev = None |
195 self.lastctx = None |
195 self.lastctx = None |
196 self._changescache = None |
196 self._changescache = None |
197 |
197 |
198 def changectx(self, rev): |
198 def changectx(self, rev): |