subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1103704 - /subversion/trunk/subversion/libsvn_wc/update_editor.c
Date Mon, 16 May 2011 11:58:24 GMT
Author: rhuijben
Date: Mon May 16 11:58:23 2011
New Revision: 1103704

URL: http://svn.apache.org/viewvc?rev=1103704&view=rev
Log:
* subversion/libsvn_wc/update_editor.c
  (apply_textdelta): Apply the wcroot abspath where we only care about a
    wri_abspath to avoid a few more stat calls.

Modified:
    subversion/trunk/subversion/libsvn_wc/update_editor.c

Modified: subversion/trunk/subversion/libsvn_wc/update_editor.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/update_editor.c?rev=1103704&r1=1103703&r2=1103704&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/update_editor.c (original)
+++ subversion/trunk/subversion/libsvn_wc/update_editor.c Mon May 16 11:58:23 2011
@@ -3286,7 +3286,7 @@ apply_textdelta(void *file_baton,
       && expected_base_checksum
       && recorded_base_checksum->kind != svn_checksum_md5)
     SVN_ERR(svn_wc__db_pristine_get_md5(&recorded_base_checksum,
-                                        eb->db, fb->local_abspath,
+                                        eb->db, eb->wcroot_abspath,
                                         recorded_base_checksum, pool, pool));
 
 
@@ -3353,7 +3353,7 @@ apply_textdelta(void *file_baton,
   /* Open the text base for writing (this will get us a temporary file).  */
   err = svn_wc__open_writable_base(&target, &hb->new_text_base_tmp_abspath,
                                    NULL, &hb->new_text_base_sha1_checksum,
-                                   fb->edit_baton->db, fb->local_abspath,
+                                   fb->edit_baton->db, eb->wcroot_abspath,
                                    handler_pool, pool);
   if (err)
     {



Mime
View raw message