When updating a whole project's root, how can I exclude svn externals from being updated?
Asked Answered
A

3

11

Is there a way to exclude all svn externals when doing a recursive update?

Is there a way to exclude only 1 of all of the svn externals when doing a recursive update?

Basically I'd like to cut down the svn update time, and a couple of the SVN externals that I have will just about never get updated.

Anemophilous answered 5/10, 2008 at 13:55 Comment(0)
B
26

Yes, there is an option for this (to ignore all):

> svn update --ignore-externals

I don't know of any option to specifically ignore one or some externals while updating the rest.

Bonkers answered 5/10, 2008 at 14:12 Comment(0)
U
8

If you are using TortoiseSVN, you can do the same thing as "svn update --ignore-externals". Use the "Update to revision..." menu item instead of the normal "Update". On that dialog you have a "Omit Externals" checkbox.

Unctuous answered 17/1, 2009 at 22:45 Comment(0)
M
1

I'd recommend changing the default context menu items to have Update to Revision on the main context menu.

In the TortoiseSVN settings, go to 'Look and Feel', then uncheck items you want main folder context menu and check items you want in the submenu.

I have the following unchecked.

  • Checkout
  • Commit
  • Show Log
  • Check for modifications
  • Update to Revision

The great thing about having all these items is that they only show up when relevant, ie, when the directory is a working copy. So for a non SVN folder you will just get Checkout.

Monitory answered 23/2, 2009 at 5:21 Comment(1)
It probably took me longer than it should to understand why you unchecked the most important items. Anyway, meanwhile you check the items you want on the main menu and uncheck the ones for the sub menu.Crinkleroot

© 2022 - 2024 — McMap. All rights reserved.