equal
deleted
inserted
replaced
762 tracking['refs/remotes/%s/%s' % |
762 tracking['refs/remotes/%s/%s' % |
763 (remote, ref.split('/', 2)[2])] = b |
763 (remote, ref.split('/', 2)[2])] = b |
764 return tracking |
764 return tracking |
765 |
765 |
766 def _abssource(self, source): |
766 def _abssource(self, source): |
|
767 if '://' not in source: |
|
768 # recognize the scp syntax as an absolute source |
|
769 colon = source.find(':') |
|
770 if colon != -1 and '/' not in source[:colon]: |
|
771 return source |
767 self._subsource = source |
772 self._subsource = source |
768 return _abssource(self) |
773 return _abssource(self) |
769 |
774 |
770 def _fetch(self, source, revision): |
775 def _fetch(self, source, revision): |
771 if self._gitmissing(): |
776 if self._gitmissing(): |