Mercurial > hg > mercurial-crew-with-dirclash
annotate tests/test-encode.out @ 2474:1e32e2fe8a67
Fix cold cache diff performance
cold cache diff performance has regressed in two ways. localrepo.changes
has optimizations for diffing against the working dir parent that expect
node1 to be None. commands.revpair() usage means that commands.dodiff()
never sends node1 == None. This is fixed in localrepo.changes by checking
against the dirstate parents.
In the non-dirstate parents case, localrepo.changes does a loop comparing
files without first sorting the file names, leading to random access
across the disk.
author | Chris Mason <mason@suse.com> |
---|---|
date | Wed, 21 Jun 2006 09:28:48 -0700 |
parents | b2ae81a7df29 |
children |
rev | line source |
---|---|
1258 | 1 %% no changes |
2 %% no changes | |
3 %% uncompressed contents in repo | |
4 this is a test | |
5 %% uncompress our working dir copy | |
6 this is a test | |
2175
b2ae81a7df29
Make hg update more verbose by default (issue12)
Thomas Arendsen Hein <thomas@intevation.de>
parents:
1258
diff
changeset
|
7 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
1258 | 8 %% uncompress our new working dir copy |
9 this is a test |