Code review comment for lp:~rocky-burt/trac-bzr/bug-263300

Revision history for this message
Rocky Burt (rocky-burt) wrote :

Sounds good, I'll take another stab at this later on.

- Rocky

On Tue, Mar 17, 2009 at 11:06 AM, Jelmer Vernooij <email address hidden> wrote:

> Rocky Burt wrote:
> > Rocky Burt has proposed merging lp:~rocky-burt/trac-bzr/bug-263300 into
> lp:trac-bzr.
> >
> > Requested reviews:
> > Trac-bzr-team (trac-bzr-team)
> >
> > The _get_weave call has been replaced, and the tests that failed on that
> now run on bzr 1.12
> >
> vote reject
>
> This adds a call to Repository.get_revision_inventory, which is very
> slow compared to e.g. _get_weave or get_parent_map(), especially on
> repositories with large inventories.
>
> repo.texts really should be used here to obtain the ancestry, as can be
> done with get_parent_map() and bzrlib.graph.Graph.
>
> Cheers,
>
> jelmer
> --
> https://code.launchpad.net/~rocky-burt/trac-bzr/bug-263300/+merge/4305<https://code.launchpad.net/%7Erocky-burt/trac-bzr/bug-263300/+merge/4305>
> You are subscribed to branch lp:trac-bzr.
>

« Back to merge proposal