Hi,
I've just got segfault from svn when trying to comit after setting
"svn:externals" on wc root. The reproduction recipe is attached,
and the patch is below.
Log message:
Fix segfault on comitting changes to wc root.
* subversion/clients/cmdline/util.c
(svn_cl__get_log_message): Set 'path' to "." for wc root, not to NULL.
Patch:
Index: subversion/clients/cmdline/util.c
===================================================================
--- subversion/clients/cmdline/util.c (revision 5418)
+++ subversion/clients/cmdline/util.c (working copy)
@@ -467,6 +467,8 @@
if (path && lmb->base_dir)
{
path = svn_path_is_child(lmb->base_dir, path, pool);
+ if (! path)
+ path = ".";
}
if ((item->state_flags & SVN_CLIENT_COMMIT_ITEM_DELETE)
- Volodya
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 21 16:14:48 2003