[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: Christian Boos <cboos_at_neuf.fr>
Date: 2007-01-12 15:14:46 CET

Michael Sinz wrote:
> On 1/11/07, Giovanni Bajo <rasky@develer.com> wrote:
>>
>> [...]
>> Another command I would like to grow more history-related features is
>> "svn
>> ls". I usually delete my branches with svn rm, but how can I ask SVN:
>> "show me
>> all branches that ever existed in this project and at which revisions
>> they
>> were created/destroyed"? Something like "svn ls --history URL" with an
>> output
>> like:
>>
>> foo.c@1-HEAD
>> bar.c@100-200
>> bar.c@330-350
>> dummy.c@120-121
>> dummy.c@121-HEAD
>>
>> [notice the replacement of dummy.c at rev 121].
>
>
> ...
>
> 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

-- Christian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 12 15:16:12 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.