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/04/29 15:21:08 UTC
svn commit: r1097810 - /subversion/trunk/subversion/libsvn_wc/diff_editor.c
Author: rhuijben
Date: Fri Apr 29 13:21:08 2011
New Revision: 1097810
URL: http://svn.apache.org/viewvc?rev=1097810&view=rev
Log:
* subversion/libsvn_wc/diff_editor.c
(add_directory): Following up on r1097806, commit the code I tested locally.
Modified:
subversion/trunk/subversion/libsvn_wc/diff_editor.c
Modified: subversion/trunk/subversion/libsvn_wc/diff_editor.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/diff_editor.c?rev=1097810&r1=1097809&r2=1097810&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/diff_editor.c (original)
+++ subversion/trunk/subversion/libsvn_wc/diff_editor.c Fri Apr 29 13:21:08 2011
@@ -1282,17 +1282,18 @@ add_directory(const char *path,
svn_depth_t subdir_depth = (pb->depth == svn_depth_immediates)
? svn_depth_empty : pb->depth;
- /* Add this path to the parent directory's list of elements that
- have been compared. */
- apr_hash_set(pb->compared, apr_pstrdup(pb->pool, db->path),
- APR_HASH_KEY_STRING, "");
-
/* ### TODO: support copyfrom? */
db = make_dir_baton(path, pb, pb->eb, TRUE, subdir_depth,
dir_pool);
*child_baton = db;
+ /* Add this path to the parent directory's list of elements that
+ have been compared. */
+ apr_hash_set(pb->compared, apr_pstrdup(pb->pool, db->path),
+ APR_HASH_KEY_STRING, "");
+
+
return SVN_NO_ERROR;
}