'bzr pull ../other' slower with packs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I just wanted to spawn off a workingtree-less branch so I did:
bzr init x
cd x
bzr remove-tree
bzr pull ../bzr.dev
And it spent a *lot* of time. It is because of a "get_revision_
(which is another O(history) call), because for some reason it is calling
Branch.
/Users/
- -> self.update_
/Users/
- -> return unbound(self, *args, **kwargs)
/Users/
- -> other_branch=other)
/Users/
- -> return unbound(self, *args, **kwargs)
/Users/
- -> last_rev, other_branch))
/Users/
- -> return unbound(self, *args, **kwargs)
/Users/
- -> self._write_
/Users/
- -> if history != self._lefthand_
/Users/
- -> stop_graph = self.repository
/Users/
- -> return unbound(self, *args, **kwargs)
/Users/
- -> return a_weave.
I'm not sure why Branch.pull is calling set_revision_
calling Branch.
This is a Branch6 branch, so it doesn't need to iterate the entire history,
unless it is verifying that the revision number is correct.
By the way Martin, thank you so very, very much for the SIGQUIT handler.
John
=:->
I'm uploading the callgrind for doing this from a merge directive.
I'll upload one for a plain bazaar branch next.