SVN:externals

277 views
Skip to first unread message

sanket belsare

unread,
Jul 7, 2021, 1:25:57 AM7/7/21
to TortoiseSVN
Hello,

I am using tortoise SVN version 1.10.0 and all ther repositories are based on one server location. 

Now I am having trunk with one directories having external link and need to take out branch from the trunk with the change in external link. I know this can be done through GUI. 

But need to understand how external link can be changes through command line using svn propset or any other command. 

I have tries many things but not able to change external links. 

Could you please help me on this.

Thank you

Daniel Sahlberg

unread,
Jul 16, 2021, 5:50:05 PM7/16/21
to TortoiseSVN
onsdag 7 juli 2021 kl. 07:25:57 UTC+2 skrev sanket belsare:
Hello,

I am using tortoise SVN version 1.10.0 and all ther repositories are based on one server location. 

Now I am having trunk with one directories having external link and need to take out branch from the trunk with the change in external link. I know this can be done through GUI. 

But need to understand how external link can be changes through command line using svn propset or any other command. 

If you want to do it on the command line, you can do as follows (n.b. you have to do this on the folder containing the external folders):

[[[
D:\Dev\tortoisesvn\ext>svn propedit svn:externals .
Set new value for property 'svn:externals' on '.'

D:\Dev\tortoisesvn\ext>
]]]

Initially, I didn't have an editor configured for my system so I actually got an error message first and I had to set the EDITOR environment variable first, but you can do this in Windows if you want to.

[[[
D:\Dev\tortoisesvn\ext>svn propedit svn:externals .
svn: E205007: None of the environment variables SVN_EDITOR, VISUAL or EDITOR are set, and no 'editor-cmd' run-time configuration option was found

D:\Dev\tortoisesvn\ext>set EDITOR=notepad.exe

D:\Dev\tortoisesvn\ext>
]]]

Since this is a TortoiseSVN forum, I would also suggest that you can change it using the context menu in the containing folder.

To make the changes permanent, you have to commit it as with any change.

Hope this helps!
Daniel Sahlberg

sanket belsare

unread,
Jul 19, 2021, 8:31:31 AM7/19/21
to TortoiseSVN
Thank you for your response. 

I tried the things what you suggested but after entering new path in the notepad observing below error:

svn: E195005: Error parsing svn:externals property on 

Could you please suggest on this.

Daniel Sahlberg

unread,
Jul 20, 2021, 11:36:50 AM7/20/21
to TortoiseSVN
måndag 19 juli 2021 kl. 14:31:31 UTC+2 skrev sanket belsare:
Thank you for your response. 

I tried the things what you suggested but after entering new path in the notepad observing below error:

svn: E195005: Error parsing svn:externals property on 

Could you please suggest on this.

You can find a detailed definition of the svn:externals property in the Subversion Book: https://svnbook.red-bean.com/nightly/en/svn.advanced.externals.html
Reply all
Reply to author
Forward
0 new messages