after `bzr pull` operation cache is not created

Bug #318917 reported by Alexander Belchenko
2
Affects Status Importance Assigned to Milestone
Bazaar Revno Cache
Invalid
Undecided
Unassigned

Bug Description

I'm trying to test your plugin with bzr.dev branch. Unfortunately after I did `bzr pull lp:bzr` there is no cache appear, i.e. there is no .bzr/branch/revno-cache file. I'm running bzr.exe @ win32. Plugin and hook seem to installed fine. bzr selftest is OK (6 tests without test_used module).

Revision history for this message
Ian Clatworthy (ian-clatworthy) wrote :

By design, pull doesn't create the cache as going and generating the revision-id to revno mapping unnecessarily would slow down pull. In fact, pull will explicitly delete the cache in 0.1 because it will be out of date. (Later versions are likely to be smarter.)

The cache is *only* created the first time a non-mainline revno is used/required. Likewise, the cache is only loaded if and when a non-mainline revno is used/required. Run a command like log --long or status -rx.y.z to trigger creation. Run the command again to trigger a load.

BTW, .bzr.log has trace messages on cache creation/loading/deletion so check in there to confirm what's happening when.

Changed in bzr-revnocache:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.