How to "checkout" from a repository ?

Markus Moeller huaraz at moeller.plus.com
Sun Apr 1 12:19:37 CDT 2007


I see the clone creates already the plain source files. The changes are 
stored under .hg/store/data as .i files ?

Thanks
Markus

----- Original Message ----- 
From: "TK Soh" <teekaysoh at gmail.com>
To: "Markus Moeller" <huaraz at moeller.plus.com>
Cc: <mercurial at selenic.com>
Sent: Sunday, April 01, 2007 1:54 PM
Subject: Re: How to "checkout" from a repository ?


> On 4/1/07, Markus Moeller <huaraz at moeller.plus.com> wrote:
>> I am new to hg and got a clone of a repository with hg clone
>> ssh://anon@site/repository. Now I would like to get the sources out of 
>> the
>> repository to compile them. In cvs I would do a cvs -d repository 
>> checkout
>> and I thought with hg it would be hg -R repository update but I only get:
>> 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
>>
>> How do I get the sources ?
>
> Unless you used the -U option, hg clone should already have checked
> out the tip revision for you. The output you get from hg update also
> look strange. Perhaps the repo is empty!?
>
> What do you get if you run 'hg log' in the directory?
> 




More information about the Mercurial mailing list