目录集合的颠覆标签
在我的工作空间中,我有一个目录“working”,其中包含一组全部取自同一 SVN 存储库的目录(dir1、dir2、dir3)。我想通过以下方式标记所有这些目录:
cd working
svn copy dir1 dir2 dir3 http://svn.example.com/repos/project/tags/MY_TAG
“工作”目录本身在 SVN 中没有版本控制。我想获取 dir1、dir2、dir3 当前所在的任何 SVN 版本(可能不是来自主干的 HEAD)。当我尝试此操作时,出现错误:
svn: '.' is not a working copy
“svn help copy”和 SVN 书 都表明我正在做的事情应该是可能的,但我想“工作”本身不是版本化的事实排除了这一点 这。
TIA 获取有关如何执行此操作的建议。
伊恩
In my working space, I have a directory "working" that contains a set of directories all taken from the same SVN repo (dir1, dir2, dir3). I would like to tag all of them by doing:
cd working
svn copy dir1 dir2 dir3 http://svn.example.com/repos/project/tags/MY_TAG
The "working" directory is not itself versioned in SVN. I want to get dir1, dir2, dir3 at whatever SVN version they are currently at (which may not be HEAD from the trunk). When I try this, I get the error:
svn: '.' is not a working copy
"svn help copy" and the SVN book both suggest that what I'm doing should be possible, but I guess the fact that "working" is not itself versioned precludes this.
TIA for suggestions on how to do this.
Ian
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
签入 dir* 的新 WC 父级(HEAD,完全递归)并标记 this WC
Checkout into new WC parent of dir* (HEAD, fully recursive) and tag this WC