How can I successfully delete a svn: externals and replace it with a local (non-...
source link: https://www.codesd.com/item/how-can-i-successfully-delete-a-svn-externals-and-replace-it-with-a-local-non-external-copy-of-the-same-directory.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
How can I successfully delete a svn: externals and replace it with a local (non-external) copy of the same directory?
I realize there are similar questions on this topic, but I still cannot find the answer for my specific case. I have a project that I inherited from another team's repo. We did an "svn switch --relocate" to redirect our checked out copies to our server, instead of theirs. But, they still have an svn:externals for a subdirectory and it still points to one of their other repositories.
How do I properly remove the external and replace it with a local version of that directory? I tried just deleting the external directory and replacing it with local copy and checking it in, but when 'svn up' at the project root, it complains that that directory is "locked". What am I doing wrong?
Oh, and I don't have a lot of gui tools for this installed. I am just doing it on the command line. Thanks!
In the root of your working copy:
svn propedit svn:externals .
You should see a file in your editor of choice that has lines like this:
path/to/extenal http://url/of/repo
If you remove that line, then run a commit/update, it should remove the external definition from that path, and unlock the path.
You may need to run a svn cleanup
if it complains.
Recommend
-
43
#externals - Opening PHP's #internals to the outside
-
33
#externals - Opening PHP's #internals to the outside
-
64
#externals - Opening PHP's #internals to the outside
-
48
#externals - Opening PHP's #internals to the outside
-
58
#externals - Opening PHP's #internals to the outside
-
51
#externals - Opening PHP's #internals to the outside
-
37
README.md RocketMQ Externals There are many of the Apache RocketMQ external projects, which is born from
-
25
hebrevc() and other 'contentious' 7.4 proposed deprecations ...
-
46
This article is part of a series of case studies of serverless PHP applications built with Bref on AWS Lambda. You can read more of those case studies here. This case study is about migrating the externals.io website to AWS Lambda using Bref. Th...
-
64
[RFC] Union Types v2 Posted 1 year ago...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK