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?
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With