##// END OF EJS Templates
subrepo: only attempt pulling from git's origin...
Eric Eisner -
r13466:f2295f7c stable
parent child Browse files
Show More
@@ -764,12 +764,8 b' class gitsubrepo(abstractsubrepo):'
764 764 if self._githavelocally(revision):
765 765 return
766 766 self._ui.status(_('pulling subrepo %s\n') % self._relpath)
767 # first try from origin
767 # try only origin: the originally cloned repo
768 768 self._gitcommand(['fetch'])
769 if self._githavelocally(revision):
770 return
771 # then try from known subrepo source
772 self._gitcommand(['fetch', self._abssource(source)])
773 769 if not self._githavelocally(revision):
774 770 raise util.Abort(_("revision %s does not exist in subrepo %s\n") %
775 771 (revision, self._relpath))
General Comments 0
You need to be logged in to leave comments. Login now