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

Re: Problems with relocating Subversion on Server with wrong Machine Date

From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-01-16 22:26:52 CET

On Jan 16, 2007, at 15:20, Chris Breier wrote:

>>> Last week we ran out of room on our Subversion server. Our network
>>> admins set up a new windows server and installed Subversion 1.4.2
>>> and brought over our existing repositories. All is working fine
>>> with access but today I noticed that the Machine date and time were
>>> wrong. It was set for Jan 31st. Is there a way I can change the
>>> time of the files through svn?
>>
>> So you've fixed the machines date/time, and now you want to correct
>> the files that were created during that time? You can fix the OS
>> modification date/time using your OS tools. For any revisions in
>> Subversion that ended up with the wrong date/time stamp, you can use
>> "svn propset --revprop -r REV svn:date DATETIME" where REV is the
>> revision whose data you want to change, and DATETIME is the date/time
>> you want to set for that revision. You will need to install a pre-
>> revprop-change hook first to allow such changes to be made. See the
>> file hooks/pre-revprop-change.tmpl in your repository directory for
>> an example.
>
> Can you tell me the format the date time needs to be in? Thanks for
> your
> help.

The format shown when you do this:

svn propget --revprop -r REV svn:date

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jan 16 22:27:46 2007

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