You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2011/07/12 12:49:07 UTC

svn commit: r1145538 - /subversion/trunk/subversion/libsvn_ra_neon/fetch.c

Author: rhuijben
Date: Tue Jul 12 10:49:06 2011
New Revision: 1145538

URL: http://svn.apache.org/viewvc?rev=1145538&view=rev
Log:
Avoid a wc-db query per (added) file for dav-props when neon performs a
checkout against a server that doesn't support bulk updates.

* subversion/libsvn_ra_neon/fetch.c
  (end_element): When processing an <add-file>, don't pass the get_wc_prop
    callback to the file fetcher as we already know that this file doesn't
    exist locally, so it certainly doesn't have a local base version.

Modified:
    subversion/trunk/subversion/libsvn_ra_neon/fetch.c

Modified: subversion/trunk/subversion/libsvn_ra_neon/fetch.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_neon/fetch.c?rev=1145538&r1=1145537&r2=1145538&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_neon/fetch.c (original)
+++ subversion/trunk/subversion/libsvn_ra_neon/fetch.c Tue Jul 12 10:49:06 2011
@@ -2040,8 +2040,7 @@ end_element(void *userdata, int state,
                                     rb->file_baton,
                                     NULL,  /* no base checksum in an add */
                                     rb->editor,
-                                    rb->ras->callbacks->get_wc_prop,
-                                    rb->ras->callback_baton,
+                                    NULL, NULL, /* dav_prop callback */
                                     rb->file_pool));
 
           /* fetch node props as necessary. */