Re: Mercurial 0.4e vs git network pull
- From
Matthias Urlichs <smurf@smurf.noris.de>
- Date
- May 16, 2005, 09:29 UTC
- Message-ID
- <pan.2005.05.16.09.29.09.407174@smurf.noris.de>
- In-Reply-To
- <200505151122.j4FBMJa01073@adam.yggdrasil.com>
Hi, Adam J. Richter wrote:
> Being able to do without a server side CGI script might > encourage deployment a bit more, both for security reasons and > effort of deployment.
A simple server-side CGI would be a "send me all changeset SHA-1s, starting at HEAD until you reach FOO" operation (FOO being the SHA1 of the previous head you've pulled before). This operation is simple enough that it people should have no problem installing such a CGI.
You could then stream-pull the actual contents over HTTP/1.1 without further CGI interaction.
--
Matthias Urlichs | {M:U} IT Design @ m-u-it.de | smurf@smurf.noris.de