Mercurial > hg
annotate tests/test-permissions.out @ 5451:0a43875677b1
revlog: break up compression of large deltas
Python's zlib apparently makes an internal copy of strings passed to
compress(). To avoid this, compress strings 1M at a time, then join
them at the end if the result would be smaller than the original.
For initial commits of large but compressible files, this cuts peak
memory usage nearly in half.
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 11 Oct 2007 00:46:54 -0500 |
parents | 74723744d8e0 |
children | 3d1f9dcecdea |
rev | line source |
---|---|
1497 | 1 checking changesets |
2 checking manifests | |
3 crosschecking files in changesets and manifests | |
4 checking files | |
5 1 files, 1 changesets, 1 total revisions | |
6 checking changesets | |
7 checking manifests | |
8 crosschecking files in changesets and manifests | |
9 checking files | |
10 verify failed | |
11 checking changesets | |
12 checking manifests | |
13 crosschecking files in changesets and manifests | |
14 checking files | |
15 1 files, 1 changesets, 1 total revisions | |
16 commit failed | |
5215
74723744d8e0
fix test-permissions output
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
2152
diff
changeset
|
17 diff -r c1fab96507ef a |
74723744d8e0
fix test-permissions output
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
2152
diff
changeset
|
18 --- a/a |
74723744d8e0
fix test-permissions output
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
2152
diff
changeset
|
19 +++ b/a |
74723744d8e0
fix test-permissions output
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
2152
diff
changeset
|
20 @@ -1,1 +1,1 @@ foo |
74723744d8e0
fix test-permissions output
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
2152
diff
changeset
|
21 -foo |
74723744d8e0
fix test-permissions output
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
2152
diff
changeset
|
22 +barber |