diff -r 08ef6b5f3715 -r 4f56b7530eab mercurial/subrepo.py --- a/mercurial/subrepo.py Wed Jun 29 13:04:00 2011 +0200 +++ b/mercurial/subrepo.py Wed Jun 29 16:01:06 2011 -0500 @@ -198,9 +198,9 @@ or on the top repo config. Abort or return None if no source found.""" if hasattr(repo, '_subparent'): source = util.url(repo._subsource) + if source.isabs(): + return str(source) source.path = posixpath.normpath(source.path) - if posixpath.isabs(source.path) or source.scheme: - return str(source) parent = _abssource(repo._subparent, push, abort=False) if parent: parent = util.url(parent)