bzr-0.1-rc1: bzr init does not create stat-cache file

Aaron Bentley aaron.bentley at utoronto.ca
Sun Oct 9 01:15:33 BST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alexander Belchenko wrote:
> bzr init does not create in new repository stat-cache file. This is bug
> or feature?

Intended.  The hashcache is an optimization, so the file is created and
updated as needed.  So the first time you try to compare sha-1's, it
will be created.

This should do it:
$bzr init
$touch foo
$bzr add
$bzr commit -m "committed foo"
$bzr status

A file's hash will only be checked if there's a version of the file in
the last commit, so we have to commit it, first, before we run status.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDSGAL0F+nu1YWqI0RAs5kAKCJYnc5hq8h3+7zKBvhplqFRKggIQCfSp4D
H4YK8vtM74QshGlhrh6YYY8=
=C/CL
-----END PGP SIGNATURE-----




More information about the bazaar mailing list