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

RE: SVN respository expiry date

From: Jon Foster <Jon.Foster_at_cabot.co.uk>
Date: Mon, 22 Mar 2010 12:37:38 -0000

Hi,

Arthur Chan wrote:
> I am requesting SVN checkin time from my previous company.
...
> However, they told me that SVN only store logs for 3 months
> by default so that all my commit time were lost.

There are 2 different places you can get "commit time" information.

First, there are the logs from Subversion. These are reliable
(no-one apart from the system administrator could forge them). They
are optional - you don't have to generate them. If you do generate
them, then it's up to you to decide how long to store them for. They
can log all activity, including commits, checkouts, and updates.

I suspect the logs are what your company is talking about, and it's
quite plausible for them to be stored for only 3 months.

Secondly, there is the "svn:date" revision property in the
repository. These may or may not be reliable, depending on whether
your repository has a "pre-revprop-change" hook that allows them to
be changed. (By default, they cannot be forged by anyone other than
the system administrator. But if your system administrator
installs a "pre-revprop-change" hook that allows it, then any
committer can change them to any value, without leaving an audit
trail). They are generated automatically by Subversion, you can't
(easily) turn them off. Subversion will store them forever (or
until someone changes or deletes them). These only tell you the
commit time, they won't tell you about checkouts or updates.

Kind regards,

Jon

--
(Please direct all replies to the mailing list)
**********************************************************************
This email and its attachments may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Cabot Communications Ltd.
If you are not the intended recipient of this email and its attachments, you must take no action based upon them, nor must you copy or show them to anyone.
Cabot Communications Limited
Verona House, Filwood Road, Bristol BS16 3RY, UK
+44 (0) 1179584232
Co. Registered in England number 02817269
Please contact the sender if you believe you have received this email in error.
**********************************************************************
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
Received on 2010-03-22 13:38:15 CET

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