Re: ModificationDate after commit
From: Ryan Schmidt <subversion-2010a_at_ryandesign.com>
Date: Wed, 13 Jan 2010 15:05:09 -0600
On Jan 13, 2010, at 02:52, Claudius Sailer wrote:
> we use a software with a lot of EXE-Files where the developer company uses
As you've discovered, Subversion does not store the modification date/time in the repository. It stores only the commit date/time. The request to have Subversion store the modification date/time was filed years ago; I wouldn't count on it getting resolved soon.
When you check out, file modification dates are either "now" (use-commit-times in your Subversion client's config file is off) or the commit time (use-commit-times is on). If you have this feature turned on, you could manually set the svn:date property of the merge revision to the date of the original revision, but note that if this causes your revision dates not to be in chronological order, it means you cannot use Subversion's date-based revision search feature; it will happily return a result revision to you, but it might not be the correct one.
Note also that the revision date of course applies to every file committed in that revision. If it's important that different files in a single revision be shown to have different modification times, then this won't help you. You could merge each file one at a time and set that revision's svn:date to that file's desired modification time, but this gets unwieldy.
As Bob mentioned, you could instead add a custom property with this information and manage it manually.
This is an archived mail posted to the Subversion Users mailing list.