I am trying to get the sources for Netbeans IDE by running:
hg clone http://hg.netbeans.org/main/
However, this seems to be taking forever, and it does not give me any kind of status which tells me the percent of download that’s complete. If a lose my internet connection, I have to start all over again.
I realize that Mercurial is a distributed source control system, and perhaps the ‘clone’ command is taking this long because it is getting the entire history of all the files (is this correct?)
When we get sources from CVS we usually get the source without the entire history. Is it possible to do something like this with Mercurial?
May be a
clone -verbosewould give you more details about what goes wrong ?If there is no errors, you may consider a Shallow clone to not pull the entire history from a server, but only a subset starting at a given revision.
As mentioned by Ry4an, this is an ‘alpha extension’, and not yet a perennial solution.