annotate tests/test-copy @ 474:b2ae8283d1a6
Minor speed improvements for bdiff
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Minor speed improvements for bdiff
Consolidate the jpos/jlen arrays to improve cache locality.
Do the same for the hash head/length arrays.
manifest hash: e6d9ed36782741b1d6fcce8c2d00155a9540e81d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCvzWxywK+sNU5EO8RAlTMAJ9+yl0dKIeWv4RegeLy7g6wcnoYwgCgk6la
ip6KEAyBb7ktsX14KyZ5+/s=
=utNJ
-----END PGP SIGNATURE-----
author |
mpm@selenic.com |
date |
Sun, 26 Jun 2005 15:09:37 -0800 |
parents |
50da4bb9cab6 |
children |
3d4d5f2aba9a 4fc63e22b1fe |
rev |
line source |
363
|
1 #!/bin/bash
|
|
2
|
|
3 set -x
|
|
4 hg init
|
|
5 echo a > a
|
|
6 hg add a
|
|
7 hg commit -t "1" -u test -d "0 0"
|
|
8 hg status
|
|
9 cp a b
|
|
10 hg copy a b
|
|
11 hg status
|
|
12 hg -d commit -t "2" -u test -d "0 0"
|
|
13 hg history
|
|
14 hg log a
|
|
15 hexdump -C .hg/data/b.d
|
462
|
16 hg cat b > bsum
|
|
17 md5sum bsum
|
|
18 hg cat a > asum
|
|
19 md5sum asum
|
363
|
20 hg verify
|