[英]How to do a “svn copy without externals” ?
I have a branch A with externals 我有一个外部分支机构A
I need to copy the content (without the externals) to a tag B. How to proceed ? 我需要将内容(无外部)复制到标签B。如何进行?
I tried, 我试过了,
svn copy A B --ignore-externals
It did not work. 这没用。 Please note that A and B are complete https paths.
请注意,A和B是完整的https路径。
You are misunderstanding what --ignore-externals is for on the copy subcommand. 您误会了copy子命令上的--ignore-externals是什么。 This flag only affects working-copy operations.
该标志仅影响工作复制操作。 When you copy one working-copy path to another, it prevents svn from processing all the svn:externals properties on copied items to check out their targets.
当您将一个工作副本路径复制到另一路径时,它会阻止svn处理已复制项目上的所有svn:externals属性以检出其目标。 It does not prevent svn from copying the properties themselves;
它不会阻止从SVN复制的属性本身; those get copied along with the folders they have been set on.
这些文件将与设置它们的文件夹一起复制。 Removing those properties would be a change to the copied objects, and svn does not change objects while it copies them.
删除这些属性将是对复制对象的更改,并且svn在复制对象时不会更改对象。
You will either need to check out your tag, remove the externals, and commit; 您要么需要签出标签,删除外部组件,然后提交; or, do the copy within your working copy, and edit to remove the externals prior to commit.
或者,在工作副本中进行复制,然后在提交之前进行编辑以删除外部组件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.