Reverend Gonzo
Reverend Gonzo

Reputation: 40811

Mercurial clone without history

I'm trying to download the source code for a large open source project, so I can look at it.

It says to do:

hg clone http://server/path

However, this is taking forever (I'm assuming because it's a large project). I don't really care about the changesets; I just want the head, and I'm not going to be committing anything.

Is there any way I can just that, without everything else?

Upvotes: 2

Views: 1625

Answers (1)

Waldheinz
Waldheinz

Reputation: 10487

Often, when you just point your browser to the repository URL, you can grab a tarball of any revision you like, inluding head. This feature has to be enabled on the server side, though.

Upvotes: 7

Related Questions