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

Re: [PATCH][RFC] svnadmin load --ignore-dates

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Wed, 5 Feb 2014 02:10:10 +0000

C. Michael Pilato wrote on Tue, Feb 04, 2014 at 17:13:12 -0500:
> Didn't want to commit this directly just yet, given my somewhat
> disconnected attention level in the project as of late. Mostly looking
> for general feedback on the idea of the "sounds useful if it works" or
> "you *really* don't want to go there" variety, but deeper review is of
> course welcome, too.
> Log message:
> {{{
> Introduce '--ignore-dates' option for 'svnadmin load', which causes
> the load process to ignore the revision datestamps found in the
> dumpstream. This allows folks to more easily use dumpfiles as
> repository templates which appear (datestamp-wise) as normal commits
> would.

In the case of template repositories, the most important thing is
resetting the UUID (and we have 'load --ignore-uuid'). Changing the
date values of the "mkdir trunk"? I don't know that I would care either
way about what they were. Particularly if the log message of the
template's final commit explained what was going on.

However, 'load --ignore-dates' has another use-case: preventing the
"-r {DATE} doesn't work as intended" syndrome when loading a project's
history into an existing repository. In that scenario, it might be
useful to preserve the original date values (and we already have an

(the last sentence might be an instance of feature creep)
Received on 2014-02-05 04:57:37 CET

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.