[RFC] browsing history API

Johan Rydberg jrydberg at gnu.org
Tue May 23 15:06:46 BST 2006


John A Meinel <john at arbash-meinel.com> writes:

> Doesn't this do what you want:
>
> rev_id = branch.last_revision()
> vf_store = branch.repository.text_store
> vf = vf_store.get_weave(file_id)
> ancestry = vf.get_graph([rev_id])

This is more or less what I do right now, except that I get the rev_id
from the inventory plus use vf.get_ancestry instead of vf.get_graph.

~j





More information about the bazaar mailing list