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

Re: svn commit: r1070980 - /subversion/trunk/subversion/svnrdump/load_editor.c

From: Ramkumar Ramachandra <artagnon_at_gmail.com>
Date: Wed, 16 Feb 2011 21:25:35 +0530

Hi Daniel,

Daniel Shahaf writes:
> CC += artagnon
>
> Ramkumar, I think the lesson from Mike and I's recent fixes is: "Mark
> unreachable code with a run-time assertion, not with a source comment".
>
> i.e., if those places were marked with SVN__NOT_IMPLEMENTED(), debugging
> would have been easier.
>
> (Tests pass if I add a SVN__NOT_IMPLEMENTED() to that function.)

Cool, thanks for pointing this out. Since this is such a common task,
maybe add this information to HACKING?

-- Ram
Received on 2011-02-16 16:55:45 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.