[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] svn up with externals

From: <cmpilato_at_collab.net>
Date: 2002-11-04 09:56:59 CET

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

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.