SVN,为外部源项目设置目录
我有一个项目依赖于对某些开源软件的一些自定义修改。我想将其全部置于版本控制之下。
我目前正在做这样的事情:
myapp/ myapp/外部/dependency1/ myapp/外部/dependency2/ myapp/external/dependency3/
问题是,当我执行 ./configure / make 来编译外部依赖项时,SVN 会被大量小文件“污染”,每当您执行 SVN 状态时就会显示这些小文件。其他开发人员也在提交临时的和特定于机器的构建文件,这很烦人。
有没有人对如何更好地安排我的存储库有任何建议,以便我仍然可以执行 ./configure 和 make,但同时理想地防止 svn 跟踪所有临时和中间构建文件(理想情况下它们甚至不应该显示在 svn 状态中) )。
I have a project that relies on a some custom modifications to some open source software. I'd like to keep it all under version control.
I am currently doing something like this:
myapp/
myapp/external/dependency1/
myapp/external/dependency2/
myapp/external/dependency3/
The problem is that that when I do a ./configure / make to compile the external dependencies, SVN becomes 'polluted' with a lot of small files that show up whenever you do SVN status. Other developers are committing temporary and machine-specific build files as well, which is annoying.
Does anyone have any suggestions on how to better arange my repository so that I can still do a ./configure and make, but while ideally preventing svn from tracking all the temporary and intermediate build files (ideally they should not even show up in svn status).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用 svn:ignore 来阻止 svn 跟踪不需要的文件。
You can use svn:ignore to prevent svn from tracking unneeded files.