question wrt Uncompressed streaming, hgwebdir

Edouard Gomez ed.gomez at free.fr
Tue May 8 17:32:47 CDT 2007


On Tue, 08 May 2007 22:06:14 +0000, Edouard Gomez wrote:
> Is this the intended behavior or are config accessors, like the ones in
> hgweb, missing in the hgwebdir case ?

I forgot to give an example, here is a repo hgrc file:
[web]
style=gitweb
allow_archive = gz, bz2, zip
[server]
uncompressed=True

And the resulting uncompressed clone:
hg --debug clone --uncompressed http://127.0.0.1/hg/ufraw.hg
destination directory: ufraw.hg
sending capabilities command
capabilities: lookup changegroupsubset stream=1 
unbundle=HG10GZ,HG10BZ,HG10UN
sending stream_out command
abort: operation forbidden by server

Why is the stream capability advertised by the server if it's meant to be 
forbidden when the stream command is eventually sent by the client.

-- 
Edouard Gomez



More information about the Mercurial-devel mailing list