subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gst...@apache.org
Subject svn commit: r1241763 - /subversion/trunk/subversion/libsvn_delta/editor.c
Date Wed, 08 Feb 2012 03:51:48 GMT
Author: gstein
Date: Wed Feb  8 03:51:48 2012
New Revision: 1241763

URL: http://svn.apache.org/viewvc?rev=1241763&view=rev
Log:
* subversion/libsvn_delta/editor.c:
  (check_unknown_child): use the correct var in the parent inspection

Modified:
    subversion/trunk/subversion/libsvn_delta/editor.c

Modified: subversion/trunk/subversion/libsvn_delta/editor.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_delta/editor.c?rev=1241763&r1=1241762&r2=1241763&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_delta/editor.c (original)
+++ subversion/trunk/subversion/libsvn_delta/editor.c Wed Feb  8 03:51:48 2012
@@ -143,7 +143,7 @@ check_unknown_child(const svn_editor_t *
   parent = svn_relpath_dirname(relpath, editor->scratch_pool);
 
   /* Was this parent created via svn_editor_add_directory() ?  */
-  if (apr_hash_get(editor->completed_nodes, relpath, APR_HASH_KEY_STRING)
+  if (apr_hash_get(editor->completed_nodes, parent, APR_HASH_KEY_STRING)
       == MARKER_ADDED_DIR)
     {
       /* Whoops. This child should have been listed in that add call,



Mime
View raw message