How to change svn:externals from bash file non-interactive

231 views Asked by At

I have multi externals need to be set within a file externals.txt and I attempt to change the svn:externals from a bash:

svn pe svn:externals svn://hostname/branchname -F extenals.txt

But the command throws out an error:

svn: E205007: None of the environment variables SVN_EDITOR, VISUAL or EDITOR are set, and no 'editor-cmd' run-time configuration option was found

I don't want to set the EDITOR because that would make this action to be interactive. I want to this bash script would run automatically.

How to make a bash to change the svn:externals without user interactive?

1

There are 1 answers

2
Sergey Azarkevich On BEST ANSWER

Use

svn ps svn:externals svn://hostname/branchname -F extenals.txt

http://svnbook.red-bean.com/en/1.8/svn.ref.svn.c.propset.html