only use a remote repository without a local one

Andreas Bernauer bernauer at informatik.uni-tuebingen.de
Mon Apr 14 08:56:42 CDT 2008


On Fri, 2008-04-11 at 18:53 -0400, dvd at newfoundmarket.com wrote:
> can be used to create a repo remotely.  But I do not know if possible
> how to use hg against remote-server/mydata   to do hg
> add/update/status....   for /mydata.   In other words, how do I do
> something like    
> 
> cd /mydata; hg add test.dat ssh://user@remote-server/mydata   
> 

As a previous post said, you usually work locally, that is you 'hg add'
'hg commit' on the local machine.

However, you can clone from the remote repository and pull from and push
to it.  See the the wiki for details (e.g.
http://www.selenic.com/mercurial/wiki/index.cgi/Pull)

Cheers,

Andreas.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://selenic.com/pipermail/mercurial/attachments/20080414/8ae2785b/attachment.pgp 


More information about the Mercurial mailing list