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 SVN_PROP_REVISION_ORIG_DATE macro defined). Daniel (the last sentence might be an instance of feature creep)