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?
Mercurial groups related changes to multiple files into single atomic changesets, which are revisions of the whole project. These each get a sequential revision number. Because Mercurial allows distributed parallel development, these revision numbers may disagree between users.
What Is Mercurial? Mercurial is a free, distributed version control system. It's also referred to as a revision control system or Mercurial source control. It is used by software development teams to manage and track changes across projects.
Mercurial's hgweb can be configured to allow download of snapshots, e.g.,
Make sure that your repository's .hg/hgrc file (or the /home/user/.hgrc file) contains the allow_archive setting:
[web]
allow_archive = gz, zip, bz2This example illustrates how gzip, zip and bzip2 archive formats can be supported. As a result, links should appear in the Web interface corresponding to these archive types.
However, it does not look like the repository you are trying to download allows this mode of operation. You might request that they add it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With