annotate .hgignore @ 809:d0fb9efa2b2d

Fix performance regression in addremove command. When I rewrote addremove, I lazily put a call to repo.changes in, which was unnecessary and slow. This is a new rewrite, preserving the file name behaviour, but replacing the call to repo.changes with a walk, which is much cheaper, and avoids calls to os.stat on all but files that have probably been deleted.
author Bryan O'Sullivan <bos@serpentine.com>
date Fri, 29 Jul 2005 08:42:28 -0800
parents d2422f10c136
children cdf61d3d3904 8f5637f0a0c0 0902ffece4b4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
717
a51e3ded642d Be even more specific with .hgignore regexps, added *.swp files.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 716
diff changeset
1 \.orig$
a51e3ded642d Be even more specific with .hgignore regexps, added *.swp files.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 716
diff changeset
2 \.rej$
a51e3ded642d Be even more specific with .hgignore regexps, added *.swp files.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 716
diff changeset
3 ~$
a51e3ded642d Be even more specific with .hgignore regexps, added *.swp files.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 716
diff changeset
4 \.so$
a51e3ded642d Be even more specific with .hgignore regexps, added *.swp files.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 716
diff changeset
5 \.pyc$
a51e3ded642d Be even more specific with .hgignore regexps, added *.swp files.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 716
diff changeset
6 \.swp$
a51e3ded642d Be even more specific with .hgignore regexps, added *.swp files.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 716
diff changeset
7 ^build/
a51e3ded642d Be even more specific with .hgignore regexps, added *.swp files.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 716
diff changeset
8 ^dist/
a51e3ded642d Be even more specific with .hgignore regexps, added *.swp files.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 716
diff changeset
9 ^doc/.*\.[0-9]$
a51e3ded642d Be even more specific with .hgignore regexps, added *.swp files.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 716
diff changeset
10 ^MANIFEST$
a51e3ded642d Be even more specific with .hgignore regexps, added *.swp files.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 716
diff changeset
11 ^.pc/
a51e3ded642d Be even more specific with .hgignore regexps, added *.swp files.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 716
diff changeset
12 ^patches/
a51e3ded642d Be even more specific with .hgignore regexps, added *.swp files.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 716
diff changeset
13 ^mercurial/__version__.py$