cialis en suisse acheter cialis paris viagra uten resept kamagra-cialis sito affidabile viagra precio generico levitra vente viagra 100mg achat viagra générique sildénafil citrate cialis vente libre viagra indien bestellen compro cialis kamagra rapida pris cialis achat viagra vrai viagra roma
cialis online 
sildenafil acheter 
viagra comment le prendre 
acheter tadalafil en france 
acheter du viagra a rennes 
vente viagra mg 
viagras pour femme 
generique viagra prix 
cialis tarif 
buy viagra online 
pharmacie en ligne kamagra 
vente cialis en france 
vardenafil posologie 
prix du vrai viagra 
viagra ordonnance belgique 
levitra price finasteride mg levitra where to buy buy levitra without prescription kamagra billig discount viagra online finasteride mg generic for sale cialis best prices where to buy cialis kamagras gel champix varenicline purchase cialis no prescription propecia in canada need prescription cheap kamagra kamagra otc

Windows SVN pre-commit-hook

At a current project I work on, we use a Windows server to run our subversion repository.

I wanted to set up the pre-commit hook so that commits with empty comment are automatically rejected.

All commit-hook example files that go with Subversion are written in bash (as unix servers tend to be the normal).

Here is a the pre-commit hook rewritten as a windows .bat file.

2 Responses to “Windows SVN pre-commit-hook”

  1. ocpjp Says:

    Below is a section of my pre-hook. It only assigns the first word to the log message and not the entire log. Any idea what is wrong?

    rem Subversion sends through the path to the repository and transaction id
    set REPOS=%1
    set TXN=%2
    for /f “tokens=* delims= ” %%a in (‘svnlook log %REPOS% -t %TXN%’) do (set LogMessage=%%a)

  2. Ray Says:


    Doesn’t you practically override the log message with each iteration of your loop so at the end you only have one word?