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

RE: ModificationDate after commit

From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Wed, 13 Jan 2010 09:50:37 -0500

> we have at the moment a little problem with svn and the
> modification date
> of files we want to commit.
>
> we use a software with a lot of EXE-Files where the developer
> company uses
> the modification date as version information. So this informations
> are
> important for us.
> the software we get from this company is imported into a vendor
> branch (for
> every patch or hotfix delivery a new vendor brnach) and when we
> check out
> we see the correct modification date in our file structure because
> we
> activated use-commit-times = yes. After imported the sent software
> we want
> to merge this with a branch or trunk and commit the changes. After
> that the
> modification date is lost.
>
> What can we do that the modification date we can see on file
> structur is
> also stored in svn and is also possible to see after
> checkout/update?

Create a property with the modification date. This will be a versioned property so it will remain with the revision.

You can create a script to use when you check it which will update this property to match the modification date. You can have your build script read the property to set any files you need to that date or whatever. It shouldn't be too dificult to set up.

BOb
Received on 2010-01-13 15:50:54 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.