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

Re: Issue SVN-4767: svnadmin dump shouldn't canonicalize svn:date

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Tue, 31 Jul 2018 12:04:56 +0000

Branko Čibej wrote on Tue, Jul 31, 2018 at 13:43:57 +0200:
> On 31.07.2018 13:04, Julian Foad wrote:
> > However, this does not only convert old to new format, but could also make textual changes to the string if the revprop value is not already canonical. Dump should carefully output exactly what is in the repository and not gratuitously change it. In retrospect, such a transformation should have been done during "svnadmin load" instead of in "dump".
>
> Agreed, this fits with what "svnadmin load" already does with the
> --normalize-props option. But if the timestamp is *not* in the right
> format, "load" should fix it. Maybe "except with
> --bypass-prop-validation"? Another option that controls "load" behaviour
> WRT dates is --ignore-dates, though I can't remember why we introduced that.
>

Presumably in order not to break the binary search algorithm underlying the
@{DATE} peg revision syntax.
Received on 2018-07-31 14:05:12 CEST

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