Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

when updating a whole project's root, how to exclude svn externals from being updated?

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.

like image 269
Brian R. Bondy Avatar asked Oct 05 '08 13:10

Brian R. Bondy


People also ask

How to Check svn externals?

These properties can be viewed through the following ways: Right click on the working copy -> Tortoise SVN -> Properties. In the . svn folder, browse through the entries file.

What is svn externals property?

The svn:externals property can be set on a folder or a file. In the first case, it stores the URL of a folder from another repository. In the second case, it stores the URL of a file from another repository. The external file will be added into the working copy as a versioned item.

How to create svn external?

cd into the directory where you want to add the external project, then type: svn propedit svn:externals . Once you save the file, svn will output something like: Set new value for property 'svn:externals' on '.


2 Answers

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.

like image 85
Wim Coenen Avatar answered Oct 05 '22 23:10

Wim Coenen


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.

like image 45
Adam Bellaire Avatar answered Oct 06 '22 01:10

Adam Bellaire