How to create remote repository with sources

Mads Kiilerich mads at kiilerich.com
Mon Aug 6 09:18:41 UTC 2012


On 06/08/12 11:14, Xavier NOPRE wrote:
> Hi all,
>
> I'm using Mercurial on my computer, for my dev project.
>
> Now, I want to push my sources and changes on a remote server to 
> backup my sources and to add continious integration.
>
> On my remote server, I have created a directory and run "hg init" on 
> it. On my computer, on the file .hg\hgrc, I have added a "default" 
> line in "[paths]" section with SSH path to my remote directory. When I 
> run "hg push", it ask me my SSH password and said "remote: added 66 
> changesets with 441 changes to 239 files (+1 heads)".
>
> But on the remote server, I have only a .hg directory without sources.
>
> What do I have to do to have all my sources in my remote server ?

See
   hg help update

/Mads



More information about the Mercurial mailing list