svn 跟踪全新的代码库
我在一家公司,我们不断从第三方供应商那里收到新的代码库。
我们想跟踪 subversion 的变化。有没有办法用新代码替换分支并跟踪更改?
目前我们只是删除分支中的所有文件,然后添加新文件并提交。
我们想跟踪这些文件,但我还没有找到可以轻松处理子文件夹中所有 .svn 目录的工具。
有谁知道一个工具可以用新分支替换 svn 目录并创建相应的修改添加和删除记录,就像代码库被有机修改一样?
I'm at a company, we keep recieviing new codebases from a third party vendor.
we'd like to track the changes in subversion. is there a way to replace a branch with the new code and track the changes?
currently we just delete all files in the branch, and then add the new files and commit.
we'd like to track the files, but I havn't found a tool that will easily deal with all the .svn directories found in subfolders.
does anyone know a tool that will replace an svn directory with a new branch and create the respective modify add and delete records as if the code base was organically modified?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
如果我理解正确的话,您正在寻找 供应商分支。
If I understood correctly, you're looking for vendor branches.
检查他们的代码删除,并删除所有 .svn 目录以及这些目录的内容。我很惊讶他们还是把它们寄给了你。如果您将剩下的内容复制到现有的目录结构中(.svn 目录保持不变)然后提交,您应该会得到您正在寻找的效果。
Go through their code drop, and delete all of the .svn directories and the contents of those directories. I'm surprised they sent them to you anyway. If you copy whats left into your existing directory structure (with your .svn directories intact) and then commit, you should get the effect you're looking for.
您应该删除您的文件,但不要删除 _svn 或 .svn 文件夹。然后只需将它们的文件放入工作副本中,保留您的 _svn 文件夹这样 svn 将能够跟踪修订
You should delete your files but not the _svn or .svn folders. Then just drop their files in the working copy , keeping your _svn folders This way svn will be able to track the revisions
svn_load_dirs.pl(在书中)是我们用来引入供应商分支的。效果很好。
svn_load_dirs.pl (in the book) is what we used to bring in vendor branch. Worked quite well.