Change the size of the short hash representation
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Change the size of the short hash representation
First note that this number doesn't really matter, as we always check
for ambiguous short hash ids.
Here's the math on collision probability:
>>> import math
>>> def p(f, n): return 1 - (1 / math.exp(n**2/(2*f)))
...
>>> p(2**32, 30000.0)
0.
09947179164613551 # with 30000 changesets (BKCVS), we have a 9% chance
>>> p(2**32, 65000.0)
0.
38850881217977273 # and with a full import from BK, we'd have a 39% chance
>>> p(2**40, 1e6)
0.
36539171908447321 # we'd like to be "safe" for 1M csets, so 40 isn't enough
>>> p(2**48, 1e6)
0.
001774780051374103 # But 48 looks good
>>> p(2**48, 1e7)
0.
16275260939624481
>>> p(2**48, 5e6)
0.
043437281083569146
>>> p(2**48, 2e6)
0.
0070802434913129764
>>> p(2**48, 3e6)
0.
01586009440574343
manifest hash:
24d9f928a463f46708b0e11fb781d5a241851424
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCsQoMywK+sNU5EO8RAoBBAJwII9GV6dT9QUOYAk3gZGw9z0JvjACfSI4q
IFnTu1F7P5OuLelO1GsM8Bs=
=CNWk
-----END PGP SIGNATURE-----
Move httprangereader into its own file
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Move httprangereader into its own file
manifest hash:
7a856e4024ce5d3d305e23e418a77d3058c74ddf
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCsPj4ywK+sNU5EO8RAizKAJ9kbYVAC+iL4cKml14BcwX9okdnJQCgjLAP
cWM5/y9FdC3THOC6DkUNic0=
=PkL6
-----END PGP SIGNATURE-----
hg push: "default-push" default target path
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hg push: "default-push" default target path
manifest hash:
368f3a073e172272bac06bf5b2ace78f03ffd3bf
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCsPeJywK+sNU5EO8RAuNZAKChSFEUCILHmRJmj3/7EDij3RK31gCdF2qF
vQ8+72bbEPmxa3HOTdNliu0=
=Nyi+
-----END PGP SIGNATURE-----
revlog: add a children function
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
revlog: add a children function
manifest hash:
eda39cb99d0df5b3262d97a9e161a8acceb1da3d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCsPZ0ywK+sNU5EO8RAiAcAJ9D+y8zQ/Gai7CpTkfTamPFxmvVRACcDRv9
5HkupYyrxslGnGJpELaF1is=
=zf1d
-----END PGP SIGNATURE-----
hgweb: fix deleted file in changeset key error
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hgweb: fix deleted file in changeset key error
We simply point to nullid. This is very arguably the correct thing to
do.
manifest hash:
c16f1c05a087e5d3274cb84dfd09d048430f0495
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCsPCdywK+sNU5EO8RAuJzAJ9j2Yn7KHceFxYgKvOd5V4fNNLKmQCfTZ9s
jorkRZcX2hdZqRkxM8q8VMk=
=+bEb
-----END PGP SIGNATURE-----
Add a TODO list
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Add a TODO list
manifest hash:
6d50020153a16e9f746e65c177b15e44a6110ddc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCsNdNywK+sNU5EO8RAnCMAJ9Km7f0Dx8cccH44R20qqHCuBobpwCeIfuh
bBtBTknenXsF4bEo3Z6BOt4=
=b/zU
-----END PGP SIGNATURE-----
Use errno.EPIPE rather than 32
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Use errno.EPIPE rather than 32
manifest hash:
c9cb2fadf7ef4392b2f16b3f76ca2a39964b7ae0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCsNNOywK+sNU5EO8RAudrAKCGKfgsHmSLdt5HYpUtX4S/QSFCQgCeKb7M
Qld4CLe1M3aktU0tugb51Gs=
=1LB7
-----END PGP SIGNATURE-----
hgweb: remove pointless manifest reads
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hgweb: remove pointless manifest reads
pointed out by Goffredo Baroncelli
manifest hash:
7aa5b93dc73755f02887702d0a01118d91b3b289
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCsNK6ywK+sNU5EO8RAhJeAJ9ck6KYdupiuuyXXU5Mr8upx+D/NgCcDJmI
y7ZVFQoiaYFoJy+GWQ2zFes=
=RHPt
-----END PGP SIGNATURE-----
One too many newlines in verbose output showed up in regression
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
One too many newlines in verbose output showed up in regression
manifest hash:
184bd0353358ec24c3711420ba3c6745a688ebc9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCsMC9ywK+sNU5EO8RAuYsAJ4wCphPRGI5omFy0VkbiQp8OairRwCcDdD2
pAR58+i+urS7MlbaDisCYUM=
=Ty7w
-----END PGP SIGNATURE-----
test-help: hg copy now shows up in the help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
test-help: hg copy now shows up in the help
manifest hash:
f5a8f55f2e87e363c22e1639eef4a919ed028d4e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCsMCTywK+sNU5EO8RAg0UAKCtCVRkgxqjfHGIbaz1DTZ+FJgXdQCgrfkq
i4W+etRh5HWatXrjw+n7Ppk=
=4lE7
-----END PGP SIGNATURE-----