bumpy upgrade to bzr 0.1rc1
John A Meinel
john at arbash-meinel.com
Thu Oct 6 19:09:23 BST 2005
george young wrote:
> I just downloaded (rsync worked), from
> rsync://bazaar-ng.org/bazaar-ng/bzr/bzr.dev
>
> I boldly did
> root# setup.py install
>
> % cd ../bzpypig (yes it's well backed up!)
> % bzr version
> bzr (bazaar-ng) 0.1rc1
>
...
> # Great. I can go back to work in style!
> % bzr status
> bzr: WARNING: bad line in hashcache: 'dbfield.py// 5c9520542d776b9ba0b39f699231910c8087a848 1528 1127327689 1127327689 1627745 2071\n'
> bzr: WARNING: bad line in hashcache: 'opset_select.py// e2da41aeab00d18b4fe83ff41b3dbca5c9fbf68e 7792 1127327689 1127327689 1627760 2071\n'
> ...
>
> I poked around and guessed that:
> rm .bzr/stat-cache
> might fix this.
Yes, that does fix it. We really should consistently call the file
either stat cache or hash cache. (Internally and externally). We
switched names because it is caches both the hash and stat, but
statcache already exists in the python standard library.
I saw the same thing in one of my test upgrades. If upgrade might mess
up the hash cache, I would say just delete it.
It is only an optimization anyway (removing it doesn't change
correctness, just makes it longer to do a "bzr status").
John
=:->
>
> It appears to have worked, but I would like some confirmation before I forge ahead using the new bzr. If rm "stat-cache" is the right action, perhaps "upgrade" could suggest this?
>
> [yes, "bzr check" now works fine]
>
> -- George
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051006/ca10298f/attachment.pgp
More information about the bazaar
mailing list