[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: proposal: changelist feature

From: mark benedetto king <mbk_at_lowlatency.com>
Date: 2006-04-21 14:22:20 CEST

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

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.