tests/test-commit.out
author mason@suse.com
Fri, 11 Nov 2005 18:20:22 -0800
changeset 1534 80a3d6a0af71
parent 1488 08c7851969cc
child 1809 ef53d200df3d
permissions -rw-r--r--
Optimize manifest.add Testing shows that manifest.add is spending a significant percentage of its time running calcoffsets and doing text = "".join(addlist). This patch removes the need for both of these by storying the manifest in a character array, and using a modified bisect search to find lines without the help of a separate index of line offsets. manifest.add was also reworked to push delta construction/combination into the main loop. Time to apply 2751 patches (without psyco, ext3 noatime,data=writeback): Stock hg: 4m45s real 3m32s user 55s sys patched: 2m48s real 1m53s user 43s sys quilt: 2m30s real 45s user 50s sys (quilt does much more io...)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1198
66f7d3946109 Add test output.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
     1
transaction abort!
66f7d3946109 Add test output.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
     2
rollback completed
1202
71111d796e40 Commit date validation: more stringent checks, more useful error messages.
Bryan O'Sullivan <bos@serpentine.com>
parents: 1198
diff changeset
     3
abort: impossible time zone offset: 4444444
71111d796e40 Commit date validation: more stringent checks, more useful error messages.
Bryan O'Sullivan <bos@serpentine.com>
parents: 1198
diff changeset
     4
transaction abort!
71111d796e40 Commit date validation: more stringent checks, more useful error messages.
Bryan O'Sullivan <bos@serpentine.com>
parents: 1198
diff changeset
     5
rollback completed
71111d796e40 Commit date validation: more stringent checks, more useful error messages.
Bryan O'Sullivan <bos@serpentine.com>
parents: 1198
diff changeset
     6
abort: invalid date: '1\t15.1'
1198
66f7d3946109 Add test output.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
     7
transaction abort!
66f7d3946109 Add test output.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
     8
rollback completed
1202
71111d796e40 Commit date validation: more stringent checks, more useful error messages.
Bryan O'Sullivan <bos@serpentine.com>
parents: 1198
diff changeset
     9
abort: invalid date: 'foo bar'
1198
66f7d3946109 Add test output.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
    10
transaction abort!
66f7d3946109 Add test output.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
    11
rollback completed
1202
71111d796e40 Commit date validation: more stringent checks, more useful error messages.
Bryan O'Sullivan <bos@serpentine.com>
parents: 1198
diff changeset
    12
abort: invalid date: ' 1 4444'
1198
66f7d3946109 Add test output.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
    13
transaction abort!
66f7d3946109 Add test output.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
    14
rollback completed
1202
71111d796e40 Commit date validation: more stringent checks, more useful error messages.
Bryan O'Sullivan <bos@serpentine.com>
parents: 1198
diff changeset
    15
abort: date exceeds 32 bits: 111111111111
1488
08c7851969cc only files in normal state should be marked as deleted
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 1202
diff changeset
    16
abort: No such file or directory: .../test/bar