You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by rb...@connected.com on 2004/03/17 16:08:08 UTC

change commit date\time information

System:
RH9, SVN 1.0.0, Apache 2.0.48

Problem:
I accidentally screwed up my system date. I set the date to be April rather
than March. As you can imagine, the commit date\time for commits done after
this mishap took place, are incorrect.

Question:
I have fixed the system date, but how can I change the commit date\time
information for files committed during this period of time?

Thanks,
Ryan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Connected: the leading provider of automated 
data protection, archiving and recovery 
solutions for distributed data.
http://www.connected.com

 

RE: change commit date\time information

Posted by Ben Collins-Sussman <su...@collab.net>.
On Wed, 2004-03-17 at 11:34, Roger Talkov wrote:
> When I tried to change a log message I got the following error. Does this
> mean a pre-revprop-change hook is required ?

Yes.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

RE: change commit date\time information

Posted by Roger Talkov <rc...@appworx.com>.
When I tried to change a log message I got the following error. Does this
mean a pre-revprop-change hook is required ?

~/svn/trunk/Java/src>svn propedit -r924 --revprop svn:log
http://subversion/svn

svn: DAV request failed; it's possible that the repository's
pre-revprop-change
hook either failed or is non-existent
svn: At least one property change failed; repository is unchanged.

Roger Talkov
 
AppWorx
425-644-2121 x135

-----Original Message-----
From: Ben Collins-Sussman [mailto:sussman@collab.net] 
Sent: Wednesday, March 17, 2004 8:32 AM
To: rbraswell@connected.com
Cc: users@subversion.tigris.org
Subject: Re: change commit date\time information

On Wed, 2004-03-17 at 10:08, rbraswell@connected.com wrote:

> Question:
> I have fixed the system date, but how can I change the commit
> date\time information for files committed during this period of time?

Every revision in the repository has an "svn:date" property.  It's an
unversioned property, so you can change them the same way you can change
log messages:

  $ svn propset -rXXX --revprop svn:date "2002-02-10T13:27:24.678598Z"

... or you can use 'propedit' instead.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: change commit date\time information

Posted by Ben Collins-Sussman <su...@collab.net>.
On Wed, 2004-03-17 at 10:08, rbraswell@connected.com wrote:

> Question:
> I have fixed the system date, but how can I change the commit
> date\time information for files committed during this period of time?

Every revision in the repository has an "svn:date" property.  It's an
unversioned property, so you can change them the same way you can change
log messages:

  $ svn propset -rXXX --revprop svn:date "2002-02-10T13:27:24.678598Z"

... or you can use 'propedit' instead.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org