[MERGE] Graph.heads()

Robert Collins robertc at robertcollins.net
Wed Aug 15 05:46:37 BST 2007


On Wed, 2007-08-15 at 00:42 -0400, Martin Pool wrote:
> Martin Pool has voted approve.
> Status is now: Approved
> Comment:
> You could call it get_graph_object maybe.
> 
> But perhaps rather than being on the VersionedFile it should be on the 
> Repository, since vf seems to expose a bit too much of the repo 
> implementation.

In this case I think the usage of heads in determining the file id
last-changed should be on repository, so it's an internal issue to
repository.

Having it on VF would not be bad, though inside a pack repo we'd
probably avoid the extra mapping layers involved.

Also nice would be a move to ask for many file ids to be resolved at
once - to work in a more set like manner, so that we can do a single
index pass - think about the impact of multi-bisect.

-Rob


-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070815/7ed41a7f/attachment.pgp 


More information about the bazaar mailing list