after `bzr pull` operation cache is not created
Bug #318917 reported by
Alexander Belchenko
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/
To post a comment you must log in.
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.