[OT] Subversion hook for Windows

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\...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-24-2008
Álvaro G. Vicario
 
Posts: n/a
Default [OT] Subversion hook for Windows

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
--
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:24 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0