On Wed, Apr 21, 2010 at 06:12, Bert Huijben <b...@qqmail.nl> wrote: > > >> -----Original Message----- >> From: gst...@apache.org [mailto:gst...@apache.org] >> Sent: woensdag 21 april 2010 8:03 >> To: comm...@subversion.apache.org >> Subject: svn commit: r936163 - in /subversion/trunk/subversion/libsvn_wc: >> entries.c wc_db.c >> >> Author: gstein >> Date: Wed Apr 21 06:02:56 2010 >> New Revision: 936163 > > >> Modified: subversion/trunk/subversion/libsvn_wc/wc_db.c >> URL: >> http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/wc_ >> db.c?rev=936163&r1=936162&r2=936163&view=diff >> ========================================================== >> ==================== >> --- subversion/trunk/subversion/libsvn_wc/wc_db.c (original) >> +++ subversion/trunk/subversion/libsvn_wc/wc_db.c Wed Apr 21 06:02:56 >> 2010 >> @@ -5631,7 +5631,27 @@ svn_wc__db_scan_deletion(const char **ba >> >> /* Only "normal" and "not-present" are allowed. */ >> SVN_ERR_ASSERT(base_presence == svn_wc__db_status_normal >> - || base_presence == svn_wc__db_status_not_present); >> + || base_presence == svn_wc__db_status_not_present >> +#if 1 >> + /* ### there are cases where the BASE node is >> + ### marked as incomplete. we should treat this >> + ### as a "normal" node for the purposes of >> + ### this function. we really should not allow >> + ### it, but this situation occurs within the >> + ### following tests: >> + ### switch_tests 31 >> + ### update_tests 46 >> + ### update_tests 53 >> + */ >> + || base_presence == svn_wc__db_status_incomplete >> +#endif >> + ); > > This syntax is non-standard and breaks compilation in Visual C (and probably > other C preprocessors).
Thanks. Fixed in r936244