changeset 13694 | 4f5ed2bd1724 |
parent 13646 | 31eac42d9123 |
parent 13692 | a7c9735307bd |
child 13753 | 78a0a815fd41 |
--- a/mercurial/subrepo.py Thu Mar 17 22:17:27 2011 +0100 +++ b/mercurial/subrepo.py Thu Mar 17 17:08:13 2011 -0500 @@ -764,6 +764,11 @@ return tracking def _abssource(self, source): + if '://' not in source: + # recognize the scp syntax as an absolute source + colon = source.find(':') + if colon != -1 and '/' not in source[:colon]: + return source self._subsource = source return _abssource(self)