author | Martin Geisler <mg@aragost.com> |
Thu, 24 Mar 2011 18:17:49 +0100 | |
changeset 13753 | 78a0a815fd41 |
parent 13752 | 366e014a1ded |
child 13754 | ae157ca56cd5 |
--- a/mercurial/subrepo.py Thu Mar 24 08:51:58 2011 -0700 +++ b/mercurial/subrepo.py Thu Mar 24 18:17:49 2011 +0100 @@ -432,9 +432,7 @@ def _get(self, state): source, revision, kind = state - try: - self._repo.lookup(revision) - except error.RepoError: + if revision not in self._repo: self._repo._subsource = source srcurl = _abssource(self._repo) self._repo.ui.status(_('pulling subrepo %s from %s\n')