How to set revision number to svn external

SVN externals allow to include (nest) a remote SVN repository into another SVN repository. They are a great way to keep the latest code from another repository without having to do much.

One thing you will need to do is tell svn what revision of this remote SVN repository to load. To do that, do the following.

Command to find out what revision you’re svn external is pointing at;
svn propget svn:externals -R

This will output something like;
home/application - some-plugin -r100

Go to home/application directory;
cd home/application

Now change the revision number;
svn propset svn:externals 'some-plugin -r101'

Then commit to svn branch and you’re done.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s