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

Re: issue#752: date-based revision selection can fail

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2005-05-23 01:07:48 CEST

Simon Kitching wrote:

> However back to subversion: I understand why it's difficult to handle
> this case when new stuff is imported. Would it be possible to instead
> provide a tool that can be run on a subversion repository to *rebuild*
> the indexes properly? ie something that could be run after an import, or
> after someone has fudged dates associated with files for some other
> purpose?

The problem isn't that the "index" needs to be rebuilt, the problem is
that there is no index at all. Subversion does a binary search through
the revisions looking at the svn:date property, if the dates are out of
order it won't work. There only way you could fix the problem would be
to reorder the revision numbers, and that'll break all sorts of stuff.
Adding some sort of index would solve the problem, but that's difficult
for a number of reasons.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon May 23 01:09:28 2005

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