View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000309 | Subversion for OS/2 & eCS | Bug | public | 2009-01-25 18:00 | 2009-01-27 19:33 |
Reporter | Andi710 | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | new | Resolution | open | ||
Summary | 0000309: Not able to enable pre-revprop-change hook for svnserve | ||||
Description | I tried to make my repository accept revision propchanges. I adapted the template and tried both with a REXX script and a C program in the right directory of the repository. I always get an error that the repository is not enabled to take propchanges. Checkout, checkin, merge etc. all work perfectly fine. This is running subversion 1.5.5 on eCS 1.2R using Turtoise SVN to check out and in some STATA (stats package) code and csv data files. | ||||
Tags | No tags attached. | ||||
Attached Files | pre-revprop-change.c (413 bytes)
/* hook script for subversion in c form to get an *.exe file */ #include <stdio.h> #include <string.h> int main(int argc, char *argv[]) { if(argc!=6) { printf("Wrong number of arguments (%i). Provide REPOS REV USER PROPNAME ACTION.\n", argc-1); return 1; } if(strcmp(argv[5],"M")==0 & strcmp(argv[4],"svn:log")==0) { /* printf("Success"); */ return 0; } } | ||||
|
Copy the attached executable or REXX script into the 'hooks' subdirectory of your repository. This should enable property changes (for instance log entry edits). Does not do so here. I wonder if svnserve/2 actually tries to execute a pre-revprop-change executable/script. |