Daniel Shahaf | 26 Mar 2000 10:27

Re: svn commit: r1081528 [1/2] - in /subversion/trunk/subversion/libsvn_wc: wc_db.c wc_db_pristine.c wc_db_private.h wc_db_txn.c

log msg += wc_db_pristine.c

hwright <at> apache.org wrote on Mon, Mar 14, 2011 at 19:32:04 -0000:
> Author: hwright
> Date: Mon Mar 14 19:32:04 2011
> New Revision: 1081528
> 
> URL: http://svn.apache.org/viewvc?rev=1081528&view=rev
> Log:
> Fix the svnversion test 1 failure introduced in r1081510.  This involves
> exposing the wc_db txn handler to the larger library, rather than just
> wc_db.c.
> 
> One of the pristine handling functions was using an SQLite txn, which
> couldn't be nested.  This change allows that txn to be nested.
> 
> * subversion/libsvn_wc/wc_db_txn.c:
>   New, copied from wc_db.c, and everything but the txn handling stripped out.
> 
> * subversion/libsvn_wc/wc_db_private.h
>   (svn_wc__db_txn_callback_t, svn_wc__db_with_txn): New.
> 
> * subversion/libsvn_wc/wc_db.c
>   (db_txn_callback_t, txn_baton_t, run_txn, with_db_txn): Remove.
>   [elsewhere]: Update callers to new function name.
> 
> Added:
>     subversion/trunk/subversion/libsvn_wc/wc_db_txn.c
>       - copied, changed from r1081515, subversion/trunk/subversion/libsvn_wc/wc_db.c
> Modified:
(Continue reading)

Daniel Shahaf | 26 Mar 2000 10:27

Re: svn commit: r1084138 - in /subversion/trunk/subversion: libsvn_diff/parse-diff.c tests/libsvn_diff/parse-diff-test.c

You can declare VALID_HEADER_FILE in the do{} loop's scope.  (I spotted
this because the double initialization stood out.)

dannas <at> apache.org wrote on Tue, Mar 22, 2011 at 11:19:44 -0000:
> Author: dannas
> Date: Tue Mar 22 11:19:44 2011
> New Revision: 1084138
> 
> URL: http://svn.apache.org/viewvc?rev=1084138&view=rev
> Log:
> Fix issue #3809 - 'svn patch' accepts invalid git diff headers.
> 
> * subversion/libsvn_diff/parse-diff.c
>   (svn_diff_parse_next_patch): Disallow non-header lines in the header.
> 
> * subversion/tests/libsvn_diff/parse-diff-test.c
>   (bad_git_diff_header): Remove sentence that says that the test is
>     failing.
>   (test_funcs): Remove XFAIL marker.
> 
> Modified:
>     subversion/trunk/subversion/libsvn_diff/parse-diff.c
>     subversion/trunk/subversion/tests/libsvn_diff/parse-diff-test.c
> 
> Modified: subversion/trunk/subversion/libsvn_diff/parse-diff.c
> URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_diff/parse-diff.c?rev=1084138&r1=1084137&r2=1084138&view=diff
> ==============================================================================
> --- subversion/trunk/subversion/libsvn_diff/parse-diff.c (original)
> +++ subversion/trunk/subversion/libsvn_diff/parse-diff.c Tue Mar 22 11:19:44 2011
>  <at>  <at>  -1286,6 +1286,7  <at>  <at>  svn_diff_parse_next_patch(svn_patch_t **
(Continue reading)


Gmane