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

Re: Date stamp

From: Gavin Lambert <tsvn_at_mirality.co.nz>
Date: Thu, 30 Jan 2014 11:21:02 +1300

On 30/01/2014 08:09, Quoth Havlovick, Ron:
> I am trying to make a date stamp, so as to when any file is committed
> into the repository an extra file is created that indicates when that file
>
> or when the last or any file was last committed.
>
> Hence, I have 20 files, and I commit one of them in.
>
> A file is created, or one modified, a text file, which indicates the
> last known commitment was 1/28/14 6:30 PM and 14 seconds. Or something
> like that.

Depending on whether you want this to happen on the client or server,
you can use a client-side or server-side hook to run a command when a
commit occurs. (Note that hooks can't alter content within the SVN
repository itself, so your log/stamp file would have to be outside.)

For the information, have a look at "svn info" or "svnversion".

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3072295

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2014-01-29 23:21:48 CET

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

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