Best practices for publishing extensions
Greg Ward
greg at gerg.ca
Sun Apr 3 10:16:36 CDT 2011
On 03 April 2011, Adrian Buehlmann said:
> >> Oh dear. Sounds like a invitation to move from Distributed Version
> >> Control to Distributed Denial of Service :-)
> >>
> >> N users doing 65 repo pulls.
> >>
> >> And no one will be looking at the code in those 65 subrepos anyway...
Hmmm, another good reason for allextensions to use absolute URLs in
.hgsub: now the load is spread out across various servers (mostly
bitbucket.org) instead of hammering hg.gerg.ca!
[...]
> It will then go like this on Windows:
>
> $ hg clone http://hg.gerg.ca/allextensions
> destination directory: allextensions
> requesting all changes
> adding changesets
> adding manifests
> adding file changes
> added 10 changesets with 20 changes to 6 files
> updating to branch default
> pulling subrepo Artemis from http://hg.mrzv.org/Artemis
> requesting all changes
> adding changesets
> adding manifests
> adding file changes
> added 55 changesets with 108 changes to 47 files
> abort: The directory name is invalid: C:\Users\adi\hgrepos\allextensions\Artemis\aux
Ouch. One bad update crashes the entire recursive clone. If only you
had used "clone -U". This feels wrong.
> (Ok. Purpose #2 accomplished: I started playing with subrepos :-)
*evil laugh* my secret hidden agenda takes another step forward *cackle*
Greg
More information about the Mercurial-devel
mailing list