Feature request: warn on stale binaries
Aaron Bentley
aaron at aaronbentley.com
Fri Apr 11 19:15:41 BST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
It would be nice if Bazaar could detect that it was loading a stale
binary module. People like me who run Bazaar from the source tree can
easily wind up with stale binaries, and get poor behavior.
For example: https://bugs.launchpad.net/bugs/215797
I'm not sure how to do this, so I thought I'd just throw it out there.
It seems as though we could bake the bzrlib version into the binary,
though that would force needless recompiles. We could include a SHA1 of
the source file, but I'm not sure how we could efficiently detect a
change at runtime.
I suppose the length of the source file would be a good-enough proxy for
a checksum, and that would be cheap to check.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFH/6rN0F+nu1YWqI0RArQ2AJ9DPul9HwcTYX/gvzFFNI/XFZ8YMwCfcunL
lwYWjaiG8WZQK2HIHHSxUTQ=
=vVmj
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list