equal
deleted
inserted
replaced
699 self._repo.ui.note(_('removing subrepo %s\n') % subrelpath(self)) |
699 self._repo.ui.note(_('removing subrepo %s\n') % subrelpath(self)) |
700 hg.clean(self._repo, node.nullid, False) |
700 hg.clean(self._repo, node.nullid, False) |
701 |
701 |
702 def _get(self, state): |
702 def _get(self, state): |
703 source, revision, kind = state |
703 source, revision, kind = state |
704 if revision not in self._repo: |
704 if revision in self._repo.unfiltered(): |
|
705 return |
|
706 else: |
705 self._repo._subsource = source |
707 self._repo._subsource = source |
706 srcurl = _abssource(self._repo) |
708 srcurl = _abssource(self._repo) |
707 other = hg.peer(self._repo, {}, srcurl) |
709 other = hg.peer(self._repo, {}, srcurl) |
708 if len(self._repo) == 0: |
710 if len(self._repo) == 0: |
709 self._repo.ui.status(_('cloning subrepo %s from %s\n') |
711 self._repo.ui.status(_('cloning subrepo %s from %s\n') |