This is a discussion on [OT] Subversion hook for Windows within the PHP Language forums, part of the PHP Programming Forums category; What's wrong with this pre-revprop-change hook? ::: pre-revprop-change.bat @echo off set SVN_BASE=C:\Program Files\...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
What's wrong with this pre-revprop-change hook?
::: pre-revprop-change.bat @echo off set SVN_BASE=C:\Program Files\Subversion\bin set SVNLOOK=%SVN_BASE%\svnlook.exe set REPOS=%1 set REV=%2 set USER=%3 set PROPNAME=%4 set ACTION=%5 "%SVNLOOK%" propget "%REPOS%" svn:log --revision %REV% >&2 exit 1 No matter how I call snvlook (I've tried all combinations) I always get the same error message, it complains about missing property name or repository path. - Isn't repository path optional in svnlook? - pre-revprop-change hooks do not receive such parameter, do they? - What sense does it make to propide a path when getting the commit log of a revision? Sorry for the offtopic, but I couldn't find a group for Subversion in my news server. -- -+ http://alvaro.es - Álvaro G. Vicario - Burgos, Spain ++ Mi sitio sobre programación web: http://bits.demogracia.com +- Mi web de humor austrohúngaro: http://www.demogracia.com -- |
![]() |
| Thread Tools | |
| Display Modes | |
|
|