[issue2556] hg out -S fails on absolute remote ssh path with relative subrepo paths
bugs at mercurial.selenic.com
Wed Dec 15 16:12:06 CST 2010
New submission from Kevin Bullock <kbullock+mercurial at ringworld.org>:
I generally use remote URLs of the form ssh://host//absolute/repo/path (note
second double-slash) for internal projects, and I've started using subrepos
regularly as well. Using a default path of that form with relative subrepo
paths ('sub = sub' in .hgsub), `hg out -S` fails on checking the subrepo
remote: abort: There is no Mercurial repository here (.hg not found)!
abort: no suitable response from remote hg!
even though the repo is there.
Test script attached. Running with --debug (set DEBUG=--debug for test
script) shows that with an absolute remote path, the subrepo path is
running ssh localhost "hg -R Users/kbullock/Source/Explorations/hg/repo-
subrepo-ssh-abspath-clone/sub serve --stdio"
With a relative remote path (URL of the form ssh://host/relative/repo/path),
the failure does not occur.
title: hg out -S fails on absolute remote ssh path with relative subrepo paths
Mercurial issue tracker <bugs at mercurial.selenic.com>
More information about the Mercurial-devel