Edouard Gomez <ed.gomez@free.fr> [Sat, 12 May 2007 00:41:30 +0200] rev 4834
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.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 11 Jul 2007 19:56:16 -0300] rev 4833
improve warning for hg add foo; hg mv foo bar
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 11 Jul 2007 18:15:21 -0300] rev 4832
util._hgexecutable: default to 'hg'
This should make hooks work even if util.set_hgexecutable is not called
(e.g. hgweb.cgi).
Fixes
issue625.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 11 Jul 2007 17:40:41 -0300] rev 4831
archive: add symlink support
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 11 Jul 2007 17:40:41 -0300] rev 4830
archive: use util.opener when archiving files.
This simplifies the code a bit and makes it easier to support symlinks.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 11 Jul 2007 17:40:41 -0300] rev 4829
localrepo.wwrite: use opener.symlink
This makes us fall back to regular files if symlinks are not supported.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 11 Jul 2007 17:40:41 -0300] rev 4828
Add symlink method to util.opener.
Differences from os.symlink:
- the symlink name is relative to the opener base directory
- if a file with that name already exists, it's removed
- if necessary, parent directories are created
- if the system (OS or filesystem) doesn't support symlinks, a
regular file is created. Its contents are the symlink target.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 11 Jul 2007 17:40:41 -0300] rev 4827
turn util.opener into a class
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 08 Jul 2007 12:58:19 +0200] rev 4826
Fixed double slash for doc install path introduced by using $DESTDIR (
issue620)
$MANDIR already is an absolute path so the extra / isn't needed.
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 08 Jul 2007 12:52:08 +0200] rev 4825
hg log: Move filtering implicit parents to own method and use it in templater.
Extended test repo in test-command-template to contain changeset to test this.
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 08 Jul 2007 10:43:57 +0200] rev 4824
Strip whitespace from changeset description in changeset_templater.
changeset_printer already does this, too.
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 06 Jul 2007 08:48:28 +0200] rev 4823
merge with crew-stable
Lee Cantey <lcantey@gmail.com> [Thu, 05 Jul 2007 15:40:29 -0700] rev 4822
Add html docs and use for help shortcut
Matt Mackall <mpm@selenic.com> [Thu, 05 Jul 2007 16:17:01 -0500] rev 4821
Merge with stable
Matt Mackall <mpm@selenic.com> [Thu, 05 Jul 2007 16:15:57 -0500] rev 4820
Merge with crew-stable
Matt Mackall <mpm@selenic.com> [Thu, 05 Jul 2007 16:01:07 -0500] rev 4819
merge: fix adding untracked files on directory rename (
issue612)
Fix from Brendan
Added test case
Matt Mackall <mpm@selenic.com> [Thu, 05 Jul 2007 15:37:23 -0500] rev 4818
extensions: untangle some recursive dependencies
OHASHI Hideya <ohachige@gmail.com> [Tue, 03 Jul 2007 00:13:52 +0900] rev 4817
interhg extension allows you to change changelog text like InterWiki.
Christian Ebert <blacktrash@gmx.net> [Thu, 28 Jun 2007 02:11:54 +0200] rev 4816
setup.py not executable: change instructions at beginning of file
Matt Mackall <mpm@selenic.com> [Thu, 05 Jul 2007 15:36:56 -0500] rev 4815
Merge with stable
Brendan Cully <brendan@kublai.com> [Thu, 05 Jul 2007 12:45:41 -0700] rev 4814
convert: svn: remove svn_paths wrappers
Brendan Cully <brendan@kublai.com> [Thu, 05 Jul 2007 12:41:58 -0700] rev 4813
convert: svn: use revmap to parse only new revisions in incremental conversions
Brendan Cully <brendan@kublai.com> [Thu, 05 Jul 2007 12:24:26 -0700] rev 4812
convert: export revmap to source.
Sources may be able to use it to optimise their own log fetching
Brendan Cully <brendan@kublai.com> [Thu, 05 Jul 2007 12:18:01 -0700] rev 4811
convert: svn: defer get_log parsing until after get_log completes.
According to the documentation, it is not safe to perform any other
operation on the ra object until get_log completes.
Brendan Cully <brendan@kublai.com> [Thu, 05 Jul 2007 12:08:48 -0700] rev 4810
convert: move some code into common init function
Brendan Cully <brendan@kublai.com> [Thu, 05 Jul 2007 12:00:43 -0700] rev 4809
Merge with crew
Brendan Cully <brendan@kublai.com> [Thu, 05 Jul 2007 12:00:26 -0700] rev 4808
alias: remove dead code
Brendan Cully <brendan@kublai.com> [Thu, 05 Jul 2007 12:00:04 -0700] rev 4807
convert: call superclass init from engine init functions
Patrick Mezard <pmezard@gmail.com> [Thu, 05 Jul 2007 20:50:24 +0200] rev 4806
Merge with crew-stable
Patrick Mezard <pmezard@gmail.com> [Thu, 05 Jul 2007 20:39:03 +0200] rev 4805
test-archive: stop checking md5 absolute values
Different tar/zlib versions can generate different binaries.
Patrick Mezard <pmezard@gmail.com> [Thu, 05 Jul 2007 19:13:08 +0200] rev 4804
Fix
issue589 wording problem
Nathan Jones <nathanj@insightbb.com> [Tue, 26 Jun 2007 10:48:58 -0400] rev 4803
Fix serve on Windows without win32* modules.
Patrick Mezard <pmezard@gmail.com> [Thu, 05 Jul 2007 19:11:38 +0200] rev 4802
test-demandimport: match upper-case hexadecimal
Brendan Cully <brendan@kublai.com> [Wed, 04 Jul 2007 13:38:49 -0700] rev 4801
Add alias extension
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 04 Jul 2007 09:24:19 +0200] rev 4800
merge with crew-stable
Brendan Cully <brendan@kublai.com> [Tue, 03 Jul 2007 20:22:39 -0700] rev 4799
convert svn: minor improvement to tag detection.
The better way is probably to list the latest tags directory and
look up the last log message for each entry. This is surprisingly
annoying to do.
Brendan Cully <brendan@kublai.com> [Tue, 03 Jul 2007 19:49:36 -0700] rev 4798
convert: svn merges produce hard-to-trace file entries. Ignore them for now.
Brendan Cully <brendan@kublai.com> [Tue, 03 Jul 2007 19:26:41 -0700] rev 4797
convert: svn: autodetect /branches, /tags, /trunk.
Various other branch handling improvement attempts too.
Brendan Cully <brendan@kublai.com> [Tue, 03 Jul 2007 17:07:58 -0700] rev 4796
convert: svn: pull out broken batching code, add alpha tags support
Brendan Cully <brendan@kublai.com> [Tue, 03 Jul 2007 15:34:30 -0700] rev 4795
convert: svn: get parent for branch creation events
Brendan Cully <brendan@kublai.com> [Tue, 03 Jul 2007 15:12:07 -0700] rev 4794
convert: add optional module argument to svn._fetch_revisions
Brendan Cully <brendan@kublai.com> [Tue, 03 Jul 2007 14:16:54 -0700] rev 4793
convert: svn: parse log entries as they arrive instead of deferring it
Brendan Cully <brendan@kublai.com> [Tue, 03 Jul 2007 13:50:26 -0700] rev 4792
convert: svn: move some debug output to verbose
Brendan Cully <brendan@kublai.com> [Tue, 03 Jul 2007 12:56:30 -0700] rev 4791
convert: another typo in svn.latest
Brendan Cully <brendan@kublai.com> [Tue, 03 Jul 2007 12:52:13 -0700] rev 4790
convert: typo in svn.latest
Brendan Cully <brendan@kublai.com> [Tue, 03 Jul 2007 12:44:04 -0700] rev 4789
convert: svn: add function to get the latest revision touching a path
Make it work for HTTP URLs
Brendan Cully <brendan@kublai.com> [Tue, 03 Jul 2007 11:36:06 -0700] rev 4788
convert: svn: add an early return to move most changeset parsing out an indent level
Brendan Cully <brendan@kublai.com> [Tue, 03 Jul 2007 10:55:46 -0700] rev 4787
convert: svn: use a separate mempool for each ls in the 1.4 fallback path