##// END OF EJS Templates
subrepo: simplify hgsubrepo._get a little
Martin Geisler -
r13753:78a0a815 default
parent child Browse files
Show More
@@ -432,9 +432,7 b' class hgsubrepo(abstractsubrepo):'
432
432
433 def _get(self, state):
433 def _get(self, state):
434 source, revision, kind = state
434 source, revision, kind = state
435 try:
435 if revision not in self._repo:
436 self._repo.lookup(revision)
437 except error.RepoError:
438 self._repo._subsource = source
436 self._repo._subsource = source
439 srcurl = _abssource(self._repo)
437 srcurl = _abssource(self._repo)
440 self._repo.ui.status(_('pulling subrepo %s from %s\n')
438 self._repo.ui.status(_('pulling subrepo %s from %s\n')
General Comments 0
You need to be logged in to leave comments. Login now