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

RE: svn revision r0 question

From: Paul Charlton <techguru_at_byiq.com>
Date: Sat, 27 Sep 2008 17:53:16 -0700

my two cents --> $0.02

1) ability for client to modify svn:date property is essential for the
correct import of a repository from a different VCS --- there is not a sane
person who wants all of the dates to be the import (transaction) date rather
than the date stamp on the original VCS.

2) the back-end code assuming its ability to perform a binary search *is
broken* unless we take the time and effort to add a separate persistent
index of the svn:date properties.

best,
Paul

-----Original Message-----
From: sussman_at_gmail.com [mailto:sussman_at_gmail.com] On Behalf Of Ben
Collins-Sussman
Sent: Saturday, September 27, 2008 4:44 PM
To: Blair Zajac
Cc: C. Michael Pilato; Subversion Developers; Barry Scott; Branko Čibej
Subject: Re: svn revision r0 question

-r {date} is already broken 5 ways to Sunday.... it assumes that the
svn:date stamps are in time order, so it can do a binary search. This
is definitely not a guarantee, as in the case of people merging
projects' histories together via 'svnadmin load'. It's one of the
oldest bugs in the bugtracker. :-)

On Sat, Sep 27, 2008 at 4:07 PM, Blair Zajac <blair_at_orcaware.com> wrote:
> C. Michael Pilato wrote:
>>
>> No, the docs are admittedly flawed in this way. If you use -r {date} and
>> that code has to query a revision that has no datestamp, it raises
>> SVN_ERR_FS_GENERAL to say that it was asked to lookup a date on a
revision
>> that doesn't have one. (But note that it doesn't raise
>> SVN_ERR_FS_CORRUPT.)
>> And the book doesn't mention this either (but as you might have seen, I
>> just sent mail off to svnbook-dev@ to remind us to fix that).
>
> Well, that's still broken. If you allow deleting it, then it should skip
> past the revision or make some assumptions about the non-existence of the
> date, not throw an error. Don't allow -r {date} to return it or
something.
>
> Blair
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-09-28 02:53:44 CEST

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.