[Python-Dev] Admin access using svn+ssh

David Bolen db3l at fitlinxx.com
Tue Aug 23 03:06:35 CEST 2005


"Martin v. Löwis" <martin at v.loewis.de> writes:

> skip at pobox.com wrote:
> > It worked.  I made a trivial change to Misc/NEWS and checked it in.  I then
> > ran "svn blame NEWS" to see what it showed.  This took approximately
> > forever.  Can I assume this is one thing svn is always going to be pretty
> > slow at? 
> 
> Yes. Somebody commented that this is quadratic in svn with the number of
> revisions, whereas it is linear in CVS. Please try it on some other
> file; Misc/NEWS is probably the worst case in the Python repository.
> 
> I don't know whether there is any better way; we should perhaps ask
> on the svn users list.

One improvement, if you're looking for a fairly recent change is to
bound the blame command with a revision range (I find a date up to
HEAD as easiest).  You'll miss annotations on lines which were last
touched prior to the selected range, but it can definitely speed
things up.

On a file like News, even if you're generous (say take the last year)
it would probably be noticeably faster than letting svn go back to
revision 1.

-- David



More information about the Python-Dev mailing list