How to "checkout" from a repository ?
teekaysoh at gmail.com
Sun Apr 1 07:54:07 CDT 2007
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