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

RE: change commit date\time information

From: <rbraswell_at_connected.com>
Date: 2004-03-17 21:20:10 CET

I am having the exact same problem. I renamed the existing
pre-revprop-change.tmpl file to pre-revprop-change, and then gave it execute
permission via 'chmod 755 pre-revprop-change.' Unfortunately I still get the
same message stating:

---
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.
---
Here is what the permissions look like:
[svn@svn svn]$ cd repos
[svn@svn repos]$ ls
conf  dav  db  format  hooks  locks  README.txt
[svn@svn repos]$ cd hooks
[svn@svn hooks]$ ls -la
total 32
drwxrwxr-x    2 svn      svn          4096 Mar 17 15:05 .
drwxrwxr-x    7 svn      svn          4096 Dec 19 02:42 ..
-rw-rw-r--    1 svn      svn          1392 Dec 19 02:42 post-commit.tmpl
-rw-rw-r--    1 svn      svn          1475 Dec 19 02:42
post-revprop-change.tmpl
-rw-rw-r--    1 svn      svn          2093 Dec 19 02:42 pre-commit.tmpl
-rwxr-xr-x    1 svn      svn          1952 Mar 17 15:05 pre-revprop-change
-rw-rw-r--    1 svn      svn          1952 Dec 19 02:42
pre-revprop-change.tmpl
-rw-rw-r--    1 svn      svn          1377 Dec 19 02:42 start-commit.tmpl
 
What am I missing? The svn user is the user under which httpd runs, so it
has file level access.
Thanks,
Ryan
-----Original Message-----
From: Roger Talkov [mailto:rctalkov@appworx.com]
Sent: Wednesday, March 17, 2004 12:34 PM
To: users@subversion.tigris.org
Subject: RE: change commit date\time information
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
Received on Wed Mar 17 21:21:12 2004

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.