Guy
Guy

Reputation: 93

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?

Upvotes: 5

Views: 12216

Answers (1)

Peter Bratton
Peter Bratton

Reputation: 6408

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.

Upvotes: 13

Related Questions