[[[
(Partial) fix issue #3653: svn update should not output svn:external 
fetches if they have not been updated

* subversion/svn/notify.c (notify)
   Removed: "Fetching external item into path/to/item" message on 'svn 
update'
   Message is still printed for 'svn checkout' and 'svn export'
]]]


Hi,

Here's a small patch for making svn up a little less verbose when 
handling svn:externals.
Thanks,

tijn

Index: subversion/svn/notify.c
===================================================================
--- subversion/svn/notify.c	(revision 1038983)
+++ subversion/svn/notify.c	(working copy)
@@ -512,10 +512,13 @@
 
       /* Currently this is used for checkouts and switches too.  If we
          want different output, we'll have to add new actions. */
-      if ((err = svn_cmdline_printf(pool,
-                                    _("\nFetching external item into '%s'\n"),
-                                    path_local)))
-        goto print_error;
+      if (nb->is_checkout || nb->is_export)
+        {
+          if ((err = svn_cmdline_printf(pool,
+                                        _("\nFetching external item into '%s'\n"),
+                                        path_local)))
+            goto print_error;
+        }
       break;
 
     case svn_wc_notify_failed_external:

Reply via email to