On Fri, Apr 21, 2006 at 07:56:41AM +0200, Peter N. Lundblad wrote:
> Peter Samuelson writes:
> >
> > [Jonathan Gilbert]
> > > Perhaps an extra switch could be used to put the changelist names
> > > first instead of last. As long as the list of changelists can itself
> > > be enumerated
> >
> > That's a big "if". As I understand it, enumerating the changelists
> > will make the operation just as unstreamy as sorting by changelist.
>
> Since all the entries are loaded while opening the working copy access baton,
> which is done recursively, assuming the changelist nmae is stored in the
> entryies file, enumerating the changelists would just be an in-memory
> traversal over the tree.
>
And maintaining a hash of what changesets have been encountered so far,
to prevent double-printing.
They're both unstreamy if you define streamy as "requiring bounded
space". In practice, however, there will be far fewer changesets than
files; streaminess in change-set enumeration is far less important that
streaminess in file-listing operations.
--ben
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 21 14:17:15 2006