SVN update command to target a single externals subfolder?
Asked Answered
C

2

6

I have a bunch of externals directories in a plugins folder.

~> svn propedit svn:externals .

akismet http://plugins.svn.wordpress.org/akismet/trunk/
stats http://plugins.svn.wordpress.org/stats/tags/1.3.7/
html-purified http://svn.wp-plugins.org/html-purified/trunk/

Some times I will update a single externals reference to update the version number from say 1.3.7 to 1.3.8 but I am forced to issue an svn up command to the whole folder and simply svn up stats doesn't work, instead it returns something like:

At revision 108437.

Instead of updating the folder from an external repository. Is it possible to update a single external sub-folder?

Cut answered 7/4, 2009 at 15:26 Comment(0)
B
4

No, because this is a single property on the parent folder, defining these externals references for each of the "virtual" subfolders. The actual subfolders don't exist in Subversion's eyes.

Boulevard answered 7/4, 2009 at 15:28 Comment(0)
K
4

You could switch the external to the new version if you want to avoid the 'svn up' on the parent folder. First change the svn:externals property to the new tag, commit. Then

svn switch http://plugins.svn.wordpress.org/stats/tags/1.3.8/ stats 

But of course, updating the parent folder is recommended.

Kotz answered 7/4, 2009 at 18:37 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.