Ping. This patch has received no comments.
Gavin "Beau" Baumanis On 30/09/2010, at 11:28 PM, Ramkumar Ramachandra wrote: > Hi, > > This is an experimental patch to fix svnrdump test 27 "dump: > subdirectory with changes on root" on Windows. It's experimental > because it's based simply on a hunch, and I don't have Windows to test > it. Could someone who has Windows test it for me? > > Thanks. > > Index: subversion/svnrdump/dump_editor.c > =================================================================== > --- subversion/svnrdump/dump_editor.c (revision 1002954) > +++ subversion/svnrdump/dump_editor.c (working copy) > @@ -147,7 +147,7 @@ make_dir_baton(const char *path, > new_db->copyfrom_rev = copyfrom_rev; > new_db->added = added; > new_db->written_out = FALSE; > - new_db->deleted_entries = apr_hash_make(eb->pool); > + new_db->deleted_entries = apr_hash_make(pool); > > return new_db; > } > @@ -375,7 +375,7 @@ open_root(void *edit_baton, > eb->propstring = svn_stringbuf_create("", eb->pool); > > *root_baton = make_dir_baton(NULL, NULL, SVN_INVALID_REVNUM, > - edit_baton, NULL, FALSE, pool); > + edit_baton, NULL, FALSE, eb->pool); > LDR_DBG(("open_root %p\n", *root_baton)); > > return SVN_NO_ERROR; > @@ -415,12 +415,14 @@ add_directory(const char *path, > { > struct dir_baton *pb = parent_baton; > void *val; > - struct dir_baton *new_db > - = make_dir_baton(path, copyfrom_path, copyfrom_rev, pb->eb, pb, TRUE, > pool); > + struct dir_baton *new_db; > svn_boolean_t is_copy; > > LDR_DBG(("add_directory %s\n", path)); > > + new_db = make_dir_baton(path, copyfrom_path, copyfrom_rev, pb->eb, > + pb, TRUE, pb->eb->pool); > + > /* Some pending properties to dump? */ > SVN_ERR(dump_props(pb->eb, &(pb->eb->dump_props), TRUE, pool)); > > @@ -483,7 +485,7 @@ open_directory(const char *path, > } > > new_db = make_dir_baton(path, copyfrom_path, copyfrom_rev, pb->eb, pb, > - FALSE, pool); > + FALSE, pb->eb->pool); > *child_baton = new_db; > return SVN_NO_ERROR; > }