diff -r ad02eba55459 -r 4f5ed2bd1724 mercurial/subrepo.py --- 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)