When i create the post-commit and pre-revpro hooks, occurr this error. How i can solve this?
I use this hooks:
@echo off
::
:: Trac-SVN post commit hook for explicit synchronisation
::
setlocal
set REPOS=%1
set REV=%2
C:\Python27\Scripts\trac-admin.exe C:\SVNTrac changeset added "%REPOS%" "%REV%"
@echo off
::
:: Trac-SVN post revprop change hook
::
setlocal
set REPOS=%1
set REV=%2
C:\Python27\Scripts\trac-admin.exe C:\SVNTracOn 27 May 2014 at 09:10:33, Tiago Herrmann (tiago.h...@gmail.com) wrote:
When i create the post-commit and pre-revpro hooks, occurr this error. How i can solve this?
--
Follow Agilo on Twitter: http://twitter.com/agilofortrac
Please support us by reviewing and voting on:
http://userstories.com/products/8-agilo-for-scrum
http://ohloh.net/p/agilo-trac
http://freshmeat.net/projects/agiloforscrum
You have received this message because you are subscribed to
the "Agilo for Trac" Google Group. This group is focused on
supporting Agilo for Trac users and is moderated by
Agilo Software GmbH <http://www.agilosoftware.com>.
To post to this group, send email to ag...@googlegroups.com
To unsubscribe from this group, send an email to
agilo+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/agilo
---
You received this message because you are subscribed to the Google Groups "Agilo for Trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to agilo+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
:::::::::::::::::::::::::::::::::::::::::
:: Automatically check & get admin rights
:::::::::::::::::::::::::::::::::::::::::
@echo off
CLS
ECHO.
ECHO =============================
ECHO Running Admin shell
ECHO =============================
:checkPrivileges
NET FILE 1>NUL 2>NUL
if '%errorlevel%' == '0' ( goto gotPrivileges ) else ( goto getPrivileges )
:getPrivileges
if '%1'=='ELEV' (shift & goto gotPrivileges)
ECHO.
ECHO **************************************
ECHO Invoking UAC for Privilege Escalation
ECHO **************************************
setlocal DisableDelayedExpansion
set "batchPath=%~0"
setlocal EnableDelayedExpansion
ECHO Set UAC = CreateObject^("Shell.Application"^) > "%temp%\OEgetPrivileges.vbs"
ECHO UAC.ShellExecute "!batchPath!", "ELEV", "", "runas", 1 >> "%temp%\OEgetPrivileges.vbs"
"%temp%\OEgetPrivileges.vbs"
exit /B
:gotPrivileges
::::::::::::::::::::::::::::
:START
::::::::::::::::::::::::::::
setlocal & pushd .set REPOS=%1
set REV=%2
C:\Python27\Scripts\trac-admin.exe C:\SVNTrac changeset added "%REPOS%" "%REV%"