bos@serpentine.internal.keyresearch.com [Thu, 01 Sep 2005 07:43:53 -0700] rev 1186
Merge with myself.
Edouard Gomez <ed.gomez@free.fr> [Thu, 01 Sep 2005 07:41:32 -0700] rev 1185
Output Content-encoding for tar.gz and tar.bz2 snapshots
If the HTTP header 'Content-encoding' is missing for tar.gz
snapshots, some gzip capable proxies can bork the tarball and
serve unusable files to users.
GZ tarballs are served using Content-encoding: gzip.
BZ2 tarballs are served using Content-encoding: x-bzip2.
bos@serpentine.internal.keyresearch.com [Thu, 01 Sep 2005 07:37:49 -0700] rev 1184
Fix up failing tests.
mason@suse.com [Thu, 01 Sep 2005 07:34:53 -0700] rev 1183
Optimize dirstate walking
This generally cuts the time for hg status/diff in half, from 2s down to 1s.
The main parts I'm trying to optimize are:
1) os.walk stats every file. dirstate.changes then stats every file again.
2) os.walk yields every file and subdir to dirstate.traverse who yields every
file and everything in the dirstate map. dirstate.walk then
filters this mass and yields every file to the caller. There should be
fewer steps in here, and fewer duplicate strings yielded.
3) dirstate.walk runs util.unique on the results from dirstate.traverse,
even though it is also passing things through dirstate.seen to look for
duplicates.
I've turned os.walk into something hg specific that takes all the dirstate
ignore and matching rules into account. The new function also takes an
function arg (statmatch()) the caller supplies to help filter out
files it doesn't care about. dirstate.changes uses this to update state
for each file, avoiding the second stat call.
dirstate.walk is changed to turn the match function it is passed into
a statmatch function. The only real difference is that a statmatch
function takes the stat data as a second parameter. It now calls
dirstate.walkhelper, who requires a statmatch function to be passed.
This fails test-walk, but right now I think this is from a sorting error
fixed by this patch.
Index: crew/mercurial/dirstate.py
===================================================================
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 31 Aug 2005 21:07:36 +0200] rev 1182
Merge with http://hannibal.lr-s.tudelft.nl/~vincent/fcgi/mercurial/fcgi/
Vincent Wagelaar <vincent@ricardis.tudelft.nl> [Tue, 30 Aug 2005 21:58:44 +0200] rev 1181
Make sure the repository names don't have slashes at the at or else in some
cases env[path_info] will not find an defined repository.
REQUEST_URI can contain a query_string appending the repository name would
lead to corrupt urls.
Vincent Wagelaar <vincent@ricardis.tudelft.nl> [Tue, 30 Aug 2005 18:23:39 +0200] rev 1180
Saving sys.argv and sys.stderr is not needed anymore
jdc@uwo.ca [Wed, 31 Aug 2005 11:58:15 -0700] rev 1179
Fix mercurial.el help.
jdc@uwo.ca [Wed, 31 Aug 2005 11:56:58 -0700] rev 1178
Adjust hg-strip and hg-chomp regexps.
Bryan O'Sullivan <bos@serpentine.com> [Wed, 31 Aug 2005 11:19:20 -0700] rev 1177
hg serve: print a more useful error message if server can't start.
Bryan O'Sullivan <bos@serpentine.com> [Wed, 31 Aug 2005 10:54:46 -0700] rev 1176
Merge with TAH.
Bryan O'Sullivan <bos@serpentine.com> [Wed, 31 Aug 2005 10:54:00 -0700] rev 1175
Emacs: fix invocations of "hg log" to match current behaviour of log.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 31 Aug 2005 09:01:41 +0200] rev 1174
Added missing 'import errno', and use errno for EPIPE, too.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 31 Aug 2005 08:40:55 +0200] rev 1173
Merged changes.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 31 Aug 2005 08:38:34 +0200] rev 1172
Use path relative to document root as reponame if published via a web server.
The full path is still displayed when using 'hg serve'.
Bryan O'Sullivan <bos@serpentine.com> [Tue, 30 Aug 2005 23:16:15 -0700] rev 1171
Sort items in each hgrc section. Add web/description.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 31 Aug 2005 07:25:02 +0200] rev 1170
Make .hg/hgrc optional for repositories published by hgwebdir.
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 30 Aug 2005 21:26:27 +0200] rev 1169
Reverted changeset e254bcbfe636e97301f76c7da241b07be14f3d36
Volker Kleinfeld agreed that this is dead code and tried to fix a problem
which was already fixed somewhere else.
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 30 Aug 2005 19:42:58 +0200] rev 1168
Fixed two tests to run with bourne shell.
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 30 Aug 2005 19:32:11 +0200] rev 1167
Added FIXME output to test-grep so the test will not fail.
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 30 Aug 2005 19:17:05 +0200] rev 1166
Added test case for zip/gz/bz2 archive downloads.
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 30 Aug 2005 19:12:17 +0200] rev 1165
Fixed import needed to serve zip files which broke because of other changes.
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 30 Aug 2005 18:10:20 +0200] rev 1164
Merge with http://hannibal.lr-s.tudelft.nl/~vincent/fcgi/mercurial/fcgi/
Vincent Wagelaar <vincent@ricardis.tudelft.nl> [Tue, 30 Aug 2005 16:36:29 +0200] rev 1163
Don't need to save sys.stdin and sys.stdout anymore
Vincent Wagelaar <vincent@ricardis.tudelft.nl> [Tue, 30 Aug 2005 16:33:04 +0200] rev 1162
Use local generated env instead of os.environ
Vincent Wagelaar <vincent@ricardis.tudelft.nl> [Tue, 30 Aug 2005 16:25:46 +0200] rev 1161
Fix hg serve...
Vincent Wagelaar <vincent@ricardis.tudelft.nl> [Tue, 30 Aug 2005 14:52:58 +0100] rev 1160
Fix TypeError
Vincent Wagelaar <vincent@ricardis.tudelft.nl> [Tue, 30 Aug 2005 10:57:52 +0200] rev 1159
Change use of global sys.stdout, sys.stdin os.environ to a hgrequest object.
Note: also change hgrequest.write(str(thing)) to hgrequest.write(thing),
people should make sure they write strings.
TK Soh <tksoh@freescale.com> [Tue, 30 Aug 2005 11:22:29 +0200] rev 1158
Regenerate tcsh_completion after bugfix in generator script
TK Soh <tksoh@freescale.com> [Tue, 30 Aug 2005 11:17:20 +0200] rev 1157
tcsh_completion_build.sh: fixed error caused by xargs on Linux
TK Soh <teekaysoh@yahoo.com> [Tue, 30 Aug 2005 11:16:31 +0200] rev 1156
Add tcsh_completion to contrib
TK Soh <teekaysoh@yahoo.com> [Tue, 30 Aug 2005 11:16:31 +0200] rev 1155
Add contrib script for generating tcsh completion source
bos@serpentine.internal.keyresearch.com [Mon, 29 Aug 2005 12:15:37 -0700] rev 1154
patchbomb: fix up confusion between strings and lists of strings.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Mon, 29 Aug 2005 20:37:07 +0200] rev 1153
bash_completion: try to use bash3 features if they're available
This does NOT break completion for bash 2.05b (I haven't tested
earlier versions)
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Mon, 29 Aug 2005 20:37:07 +0200] rev 1152
bash_completion: small cleanup and bugfix
_hg_count_non_option wasn't taking global options into account
while counting non-option arguments.
It also used only its first argument.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Mon, 29 Aug 2005 20:37:07 +0200] rev 1151
teach bash_completion about --cwd
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Mon, 29 Aug 2005 20:37:07 +0200] rev 1150
bash_completion: better handling of aliases
Instead of listing every alias in the big case..esac, use hg help
to get the canonical name of the command.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Mon, 29 Aug 2005 20:37:07 +0200] rev 1149
bash_completion: update for new help output format
bos@serpentine.internal.keyresearch.com [Mon, 29 Aug 2005 11:28:48 -0700] rev 1148
Add test-grep.out file for now.
bos@serpentine.internal.keyresearch.com [Mon, 29 Aug 2005 10:31:41 -0700] rev 1147
Merge with TAH.
bos@serpentine.internal.keyresearch.com [Mon, 29 Aug 2005 10:05:49 -0700] rev 1146
grep: extend functionality, add man page entry, add unit test.
walkchangerevs now returns a two-tuple. Its behaviour is also
extensively commented.
The annotate command's getname function has been factored out to a new
function, trimname, so it can be shared between annotate and grep.
The behaviour of grep has been beefed up, so that it now performs a
number of useful functions.
Bryan O'Sullivan <bos@serpentine.com> [Mon, 29 Aug 2005 08:24:06 -0700] rev 1145
grep: change default to printing first matching rev.
Printing of every matching rev remains via --every-match/-e switch.
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 29 Aug 2005 07:42:46 +0200] rev 1144
Documented passing list or dict instead of config file in hgwebdir.cgi
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 29 Aug 2005 07:39:01 +0200] rev 1143
Allow list of (virtual, real) or dictionary to be passed to hgwebdir.
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 29 Aug 2005 07:34:35 +0200] rev 1142
Cleaned up hgweb.hgwebdir.run()
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 29 Aug 2005 07:28:39 +0200] rev 1141
Use ConfigParser only in hgwebdir.__init__()
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 29 Aug 2005 07:19:02 +0200] rev 1140
Don't create repo objects in hgwebdir, ui object is enough.
Thomas Arendsen Hein <thomas@intevation.de> [Mon, 29 Aug 2005 07:07:07 +0200] rev 1139
Reverted change 51f26e856f3d: Reading changelogs is too slow.