annotate .hgignore @ 1031:503aaf19a040

Rewrite log command. New version is faster and more featureful. The original implementation of log walked backwards through history, which had terrible behaviour. It took several minutes to view complete kernel change history on a fast machine, for example. The rewrite uses a windowed approach to walk hunks of history forwards, while still giving results in reverse order. This reduces run time from five minutes to five seconds on my system. In addition, the rewrite uses our normal name handling mechanisms, so you can run a command like "hg log net/ipv4/**.c" and get a useful answer. It optimises for three different cases (no arguments, only files, and anything goes), so it performs well in all circumstances I've tested.
author Bryan O'Sullivan <bos@serpentine.com>
date Wed, 24 Aug 2005 12:39:10 -0700
parents 4f81068ed8cd
children fc3b41570082
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
947
4cabedfab66e In-progress Emacs snapshot.
Bryan O'Sullivan <bos@serpentine.com>
parents: 896
diff changeset
1 \.elc$
717
a51e3ded642d Be even more specific with .hgignore regexps, added *.swp files.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 716
diff changeset
2 \.orig$
a51e3ded642d Be even more specific with .hgignore regexps, added *.swp files.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 716
diff changeset
3 \.rej$
a51e3ded642d Be even more specific with .hgignore regexps, added *.swp files.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 716
diff changeset
4 ~$
a51e3ded642d Be even more specific with .hgignore regexps, added *.swp files.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 716
diff changeset
5 \.so$
a51e3ded642d Be even more specific with .hgignore regexps, added *.swp files.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 716
diff changeset
6 \.pyc$
a51e3ded642d Be even more specific with .hgignore regexps, added *.swp files.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 716
diff changeset
7 \.swp$
850
d2bf8b9534b1 Add temporary documentation files and profiling output to .hgignore
Samuel Tardieu <sam@rfc1149.net>
parents: 814
diff changeset
8 \.prof$
794
cdf61d3d3904 Ignore test error files, protect dot in .pc/
Thomas Arendsen Hein <thomas@intevation.de>
parents: 740
diff changeset
9 ^tests/.*\.err$
717
a51e3ded642d Be even more specific with .hgignore regexps, added *.swp files.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 716
diff changeset
10 ^build/
a51e3ded642d Be even more specific with .hgignore regexps, added *.swp files.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 716
diff changeset
11 ^dist/
850
d2bf8b9534b1 Add temporary documentation files and profiling output to .hgignore
Samuel Tardieu <sam@rfc1149.net>
parents: 814
diff changeset
12 ^doc/.*\.[0-9](\.(x|ht)ml)?$
717
a51e3ded642d Be even more specific with .hgignore regexps, added *.swp files.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 716
diff changeset
13 ^MANIFEST$
794
cdf61d3d3904 Ignore test error files, protect dot in .pc/
Thomas Arendsen Hein <thomas@intevation.de>
parents: 740
diff changeset
14 ^\.pc/
717
a51e3ded642d Be even more specific with .hgignore regexps, added *.swp files.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 716
diff changeset
15 ^patches/
a51e3ded642d Be even more specific with .hgignore regexps, added *.swp files.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 716
diff changeset
16 ^mercurial/__version__.py$