简体   繁体   中英

Changing SVN externals via a script?

I'd like to change SVN externals via a simple script after I do branching (also via script). My externals are pointing to "trunk" and after I branch they should point to "branches/release/1.0" for example.

Is there a way of editing SVN externals via a script?

You can do it like that:

svn propset svn:externals 'extern_dir https://example.org/svn/trunk/some/path' .

If you need to have multiple extern directories, split it with new line char.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM