annotate contrib/win32/postinstall.txt @ 4865:439e2f2fde42

Fix inconsistency for the stream_out capability in hgweb During some experiments of mine, the uncompressed cloning could not be enabled for hgweb.cgi nor hgwebdir.cgi though the server claimed to be stream_out capable. The only solution was to enable it using the user's .hgrc file. This solution is not acceptable when publishing the repos through an HTTP server because the CGI runs as a www dedicated user whose's home hgrc file may not be accessible to users publishing their repos through their userdir. For such cases we could end up with this typical debug output: hg --debug clone --uncompressed http://server/hg/project destination directory: project sending capabilities command capabilities: lookup changegroupsubset stream=1 unbundle=HG10GZ,HG10BZ,HG10UN sending stream_out command abort: operation forbidden by server The error lies in the fact the hgweb object defines new accessors to the repo configuration that trust things by default (untrusted=True) but the streamclone:stream_out function uses the usual accessors to the repo.ui object, which do not trust by default (untrusted=False) Fix this inconsistency, adding a new parameter to the stream_out function. hgweb then forces a "trust by default" behavior.
author Edouard Gomez <ed.gomez@free.fr>
date Sat, 12 May 2007 00:41:30 +0200
parents 1ef8ada4370f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1289
8d24d85ff054 Add post-install text file.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
1 Welcome to Mercurial for Windows!
8d24d85ff054 Add post-install text file.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
2 ---------------------------------
8d24d85ff054 Add post-install text file.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
3
8d24d85ff054 Add post-install text file.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
4 For configuration and usage directions, please read the ReadMe.html
8d24d85ff054 Add post-install text file.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
5 file that comes with this package.
8d24d85ff054 Add post-install text file.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
6
3863
1ef8ada4370f Remove hard-coded version numbers and release notes from packaging
Matt Mackall <mpm@selenic.com>
parents: 2681
diff changeset
7 Also check the release notes at:
2276
766c3c852786 Update Windows release notes and install script for v0.9
Lee Cantey <lcantey@gmail.com>
parents: 2216
diff changeset
8
3863
1ef8ada4370f Remove hard-coded version numbers and release notes from packaging
Matt Mackall <mpm@selenic.com>
parents: 2681
diff changeset
9 http://www.selenic.com/mercurial/wiki/index.cgi/WhatsNew