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

pre-revprop-change hook on win32

From: Glenn R Heard Jr <gheard_at_zoominternet.net>
Date: 2005-06-14 19:01:59 CEST

Here is a working example of the output from doing a revprop change:

This example shows that the hook script is operating normally and accepts a
new log message

        C:\Lang\Projects\foo>svn propedit svn:log --editor-cmd notepad
--revprop -r 6
        Set new value for property 'svn:log' on revision 6

In this next example, I delete the log message entirely by deleting the log
message in notepad:

        C:\Lang\Projects\foo>svn propedit svn:log --editor-cmd notepad
--revprop -r 6
        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

The error is expected since the hook script does not allow an empty log
entry, but instead of seeing the stderr message from the hook script, all I
get is this "request failed" message.

Glenn Heard gheard@altronicinc.com
Software Engineer gheard@zoominternet.net
Altronic Inc. rayzer@zoominternet.net
ICQ: 123194600 www.altronicinc.com
Y!: glennheard

---
If its not broke, don't fix it. Upgrade It!
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jun 14 19:04:15 2005

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.