n00b alert : Quickest way to clone a repo?

Benoît Allard benoit at aeteurope.nl
Thu May 29 06:07:08 CDT 2008


> What if I just want to grab the top of the repo, and start working from there? Is there an option to clone to discard previous history and get me the latest revision? Is clone the right command?

Or ask the maintainer to enable archives:

--hgrc--

[web]
allow_archive = zip bz2 gz
--hgrc--

and point your browser to 
http://hg.scalaforge.org/scala/docs/archive/tip.zip

You'll only get the latest state of the files without history. But that 
way, you won't be able to push your modifications, as you just got the 
files and not the repository.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4197 bytes
Desc: S/MIME Cryptographic Signature
Url : http://selenic.com/pipermail/mercurial/attachments/20080529/71a51bec/attachment.bin 


More information about the Mercurial mailing list