##// END OF EJS Templates
subrepo: recognize scp-style paths as git URLs
Eric Eisner -
r13692:a7c97353 stable
parent child Browse files
Show More
@@ -757,6 +757,11 b' class gitsubrepo(abstractsubrepo):'
757 return tracking
757 return tracking
758
758
759 def _abssource(self, source):
759 def _abssource(self, source):
760 if '://' not in source:
761 # recognize the scp syntax as an absolute source
762 colon = source.find(':')
763 if colon != -1 and '/' not in source[:colon]:
764 return source
760 self._subsource = source
765 self._subsource = source
761 return _abssource(self)
766 return _abssource(self)
762
767
General Comments 0
You need to be logged in to leave comments. Login now