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

Re: New ls feature (was: Re: New log ideas)

From: Giovanni Bajo <rasky_at_develer.com>
Date: 2007-01-12 16:19:13 CET

On 1/12/2007 3:14 PM, Christian Boos wrote:

>> Anyway, this looks like a nice idea. (Not sure yet how hard it is to
>> implement
>> with reasonable performance in larger repositories)
>
> I did something similar in Trac (it's called get_path_history there),
> but the performance is terrible. You can have a look there, either to
> use that as an implementation hint or rather for telling me what could
> be improved...
>
> http://trac.edgewall.org/browser/trunk/trac/versioncontrol/svn_fs.py?rev=4549#L478

I'm not sure what is going on in that code. If I were to write an
external tool for this, it'd be a parser over "svn log --verbose".

To explain: if I ask "svn ls --history URL", I mean "svn ls --history
URL@HEAD", that is I want to see all the files that existed within the
story of URL@HEAD, *not* within the story of any directory object that
ever appeared as URL (aka, URL@* / URL@ALL, to use the syntax of a
recent proposal).

So, I can't see why it can be any slower than using svn log --verbose.

-- 
Giovanni Bajo
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 12 16:19:27 2007

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.