开发者

Mercurial clone without history

开发者 https://www.devze.com 2023-03-22 00:16 出处:网络
I\'m trying to download the source code for a large open source project, so I can look at it. It says to do:

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 ju开发者_StackOverflowst want the head, and I'm not going to be committing anything.

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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号