ssh push to repos outside an homedirectory?

Bryan O'Sullivan bos at serpentine.com
Tue Jun 27 02:13:04 CDT 2006


On Mon, 2006-06-26 at 22:54 -0700, ryan king wrote:
> It seems that the paths given when using ssh to push or pull from a  
> repository are always relative from $HOME.

Yep.

> Is there no way to work  
> with repositories outside one's home directory via ssh?

Sure - just give an extra slash for an absolute path.

Compare:

ssh://hostname/path-relative-to-home

And:

ssh://hostname//absolute-path



More information about the Mercurial mailing list