subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Kueng <tortoise...@gmail.com>
Subject Re: svn commit: r1661671 - /subversion/trunk/subversion/libsvn_wc/wc_db.c
Date Mon, 23 Feb 2015 18:24:24 GMT


On 23.02.2015 16:42, Bert Huijben wrote:
>
>
>> -----Original Message-----
>> From: Branko ─îibej [mailto:brane@wandisco.com]
>> Sent: maandag 23 februari 2015 15:34
>> To: dev@subversion.apache.org
>> Subject: Re: svn commit: r1661671 -
>> /subversion/trunk/subversion/libsvn_wc/wc_db.c
>>
>> On 23.02.2015 14:47, rhuijben@apache.org wrote:
>>> Author: rhuijben
>>> Date: Mon Feb 23 13:47:00 2015
>>> New Revision: 1661671
>>>
>>> URL: http://svn.apache.org/r1661671
>>> Log:
>>> I did it again... I left an SVN_DBG() call :(
>>
>> You've almost given me the motivation to write a pre-commit hook that
>> rejects the commit if it finds an SVN_DBG call in the code ... :)
>
> I should really create a local hook to check for that
> (and to debug the TortoiseSVN compatible local hooks code)


Attached a hook script for TSVN that checks all modified files for an 
"SVN_DBG" statement. Errors out if one is found.
It doesn't check for #ifdef's though, so in those cases, you have to 
ignore the error and do a "retry without hooks" to commit.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest interface to (Sub)version control
    /_/   \_\     http://tortoisesvn.net

Mime
View raw message