Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove svn:externals property from a folder

I have a branch of the trunk. I need to re-set the properties of the externals in the branch to a different point. My idea was to remove them all and re-set them with propset. When I type svn propdel svn:externals http://path-to-branch/externals

I get

svn: E200009: Targets must be working copy paths

Whats the problem with my command?

like image 281
Guy Avatar asked Nov 14 '12 14:11

Guy


People also ask

What is svn externals property?

What are externals definitions? Externals definitions map a local directory to the URL of a versioned resource. The svn:externals property can be set on any versioned directory and its value is a multi-line table of subdirectories and absolute repository URLs.

How to add externals in svn?

Simply right drag the file or folder from one working copy to where you want those to be included as externals. A context menu appears when you release the mouse button: SVN Add as externals here if you click on that context menu entry, the svn:externals property is automatically added.


1 Answers

Your command is operating on the repository URL, not a working copy. Check out a working copy first:

svn co http://path-to-branch path/to/workingcopy

Then modify the property in your working copy:

svn propdel svn:externals path/to/workingcopy

Commit the change, and you should be all set. I would be remiss not to point out that it is not actually necessary to delete them first, propedit will overwrite whatever the property was beforehand.

like image 179
Peter Bratton Avatar answered Oct 04 '22 22:10

Peter Bratton