Vladimir Prus <ghost@cs.msu.su> writes:
> Log messages:
> Make "svn up" traverse externals on update targets, not only
> on chilren of update targets.
>
> * subversion/libsvn_wc/adm_crawler.c (report_revision):
> Store "svn:externals" for current dir, not for children.
>
> * subversion/tests/clients/cmdline/module_tests.py
> (update_receive_change_under_external): New test.
I'm applying this patch with the following additional change that I
feel is correct. Let me know if I'm wrong.
Index: subversion/libsvn_client/update.c
===================================================================
--- subversion/libsvn_client/update.c (revision 3634)
+++ subversion/libsvn_client/update.c (working copy)
@@ -151,12 +151,12 @@
/* We handle externals after the update is complete, so that
handling external items (and any errors therefrom) doesn't delay
the primary operation. */
- SVN_ERR (svn_client__handle_externals
- (traversal_info,
- notify_func, notify_baton,
- auth_baton,
- TRUE, /* update unchanged externals */
- pool));
+ if (recurse)
+ SVN_ERR (svn_client__handle_externals (traversal_info,
+ notify_func, notify_baton,
+ auth_baton,
+ TRUE, /* update unchanged ones */
+ pool));
SVN_ERR (svn_wc_adm_close (adm_access));
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 4 09:59:48 2002