Feature request: warn on stale binaries
aaron at aaronbentley.com
Fri Apr 11 19:15:41 BST 2008
-----BEGIN PGP SIGNED MESSAGE-----
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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the bazaar