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

Re: svn commit: r1661671 - /subversion/trunk/subversion/libsvn_wc/wc_db.c

From: Stefan Kueng <tortoisesvn_at_gmail.com>
Date: Mon, 23 Feb 2015 19:24:24 +0100

On 23.02.2015 16:42, Bert Huijben wrote:
>
>
>> -----Original Message-----
>> From: Branko ─îibej [mailto:brane_at_wandisco.com]
>> Sent: maandag 23 februari 2015 15:34
>> To: dev_at_subversion.apache.org
>> Subject: Re: svn commit: r1661671 -
>> /subversion/trunk/subversion/libsvn_wc/wc_db.c
>>
>> On 23.02.2015 14:47, rhuijben_at_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

Received on 2015-02-23 19:26:11 CET

This is an archived mail posted to the Subversion Dev mailing list.