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

Re: How to Maintain "timestamp" in Repository & Working copy ?

From: Andy Levy <andy.levy_at_gmail.com>
Date: Tue, 11 Oct 2011 11:44:01 -0400

On Tue, Oct 11, 2011 at 11:31, Phil Pinkerton <pcpinkerton_at_gmail.com> wrote:
> On 10/11/2011 10:48 AM, Tony Sweeney wrote:
>>
>>
>> -----Original Message-----
>> From: Phil Pinkerton [mailto:pcpinkerton_at_gmail.com]
>> Sent: 11 October 2011 15:42
>> To: users_at_subversion.apache.org
>> Subject: How to Maintain "timestamp" in Repository&  Working copy ?
>>
>> I have a request to keep the "commit" timestamps associated with the
>> file in the working copy the same.
>>
>> Is that possible ? most users have their working copy on a Windows OS ,
>> Subversion Server is on a Unix Server ( not that that matters ).
>>
>> Is there a parameter in TortoiseSVN perhaps ?
>>
>>
>> -----------------------------------------------
>>
>> In the TortoiseSVN settings menu, "General" section, there is a setting
>> 'Set file dates to the "last commit time"' -- is that perhaps what you
>> want?
>>
>> Tony.
>>
>>
>> ______________________________________________________________________
>> This email has been scanned by the MessageLabs Email Security System.
>> For more information please visit http://www.messagelabs.com/email
>> ______________________________________________________________________
>>
>> -----
>> No virus found in this message.
>> Checked by AVG - www.avg.com
>> Version: 10.0.1410 / Virus Database: 1520/3943 - Release Date: 10/07/11
>>
>> ______________________________________________________________________
>> This email has been scanned by the MessageLabs Email Security System.
>> For more information please visit http://www.messagelabs.com/email
>> ______________________________________________________________________
>>
> How might this be done in a script where the command line is used ?

In %APPDATA%\Subversion\config for the user the script is running as, set:

use-commit-times = yes

If you set it here, Tortoise should also pick it up for that same user.

From the command line you can also use the following option:

--config-option config:miscellany:use-commit-times=yes

This is documented in the output of svn help co.
Received on 2011-10-11 17:45:13 CEST

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.