How can I check local copies and svn: external subdirectories in one commit?

We have an svn project that also has several plugins in vendor/plugins - all pulled through svn:externals .

I have a commit that covers both the main project and several of these plugins at the same time.

When I do svn st , it lists all my modified files in all the correct subdirectories, but when I try to make svn ci , it only displays files from my local project.

How to make a single commit that also includes both local changes and svn:externals directories?

+2
command-line svn ruby-on-rails commit svn-externals
source share
1 answer

Well, it seems that it is not possible to combine local changes with external svn, but you can combine all several external elements together and then check your local working changes afterwards.

To return to the svn:externals project, you must explicitly specify the svn:externals directory name in checkin, for example:

 svn ci vendor/plugin/<plugin_name> 

You can test any number of different plugins together on the same command line with:

 svn ci vendor/plugin/<plugin_one> vendor/plugin/<plugin_two> ... 

But then your local working copy changes should be done separately. If you do not, you will receive either an unpleasant warning that "Failed to block" your local working copy, and ask: "Are all the goals part of the same working copy?" OR you will get some kind of strange message that

 svn: Commit failed (details follow): svn: Illegal repository URL '' 

So it seems that you should make changes to the working copy regardless of your svn: externals commit. However - at least it is only, not N (where N is the number of plugins plus a working copy). You can still link the two commits with the same commit message.

+3
source share

All Articles