SVN - 删除bin文件夹是如何导致src文件夹被删除的? [英] SVN - how does removing a bin folder cause the src folder to be removed instead?

查看:125
本文介绍了SVN - 删除bin文件夹是如何导致src文件夹被删除的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

版本控制中有一个bin文件夹,其中包含一堆.class文件和其他垃圾,不应该进行版本控制。有人可以向我解释如下提交:

  529 svn rm --force bin / 
530 svn ci -mBin不应该受版本控制。

导致以下内容:

修订249 
作者:ndunn
日期:Mon Jul 26 14:52:14 2010 UTC(62分钟,34秒前)
日志消息:

Bin不应该在版本控制之下。

trunk / projname / src / deleted

我回到了svn有人提醒我,以前发生过这样的事情 - 确实,开发人员尝试去除bin文件夹有两个不同的场合,而src文件夹完全消失了。



任何想法可能会发生什么?这是一个正在版本控制的Android项目。

解决方案

我认为这篇文章解决了神秘


我的问题是,当我开始进入项目时,/ bin
文件夹由SDK生成,并且/ src
中的.svn文件夹的副本被复制到/bin/.svn中,破坏颠覆结构。所以任何使用Eclipse的人都可以准备好对src ... wow中反映的bin文件进行任何更改。



图片解决方案:
alt text http ://grab.by/grabs/552e113d8ad854e128dae56cf0a4a775.png


There was a bin folder in version control with a bunch of .class files and other junk that should not be versioned. Could someone please explain to me how the following commit:

529  svn rm --force bin/
530  svn ci -m "Bin should not be under version control."

Leads to the following:

Revision 249
Author:     ndunn
Date:   Mon Jul 26 14:52:14 2010 UTC (62 minutes, 34 seconds ago)
Log Message:    

Bin should not be under version control.

trunk/projname/src/     deleted

I went back through the svn logs as someone reminded me that this had happened before - sure enough, one two separate occasions developers had attempted to remove the bin folder and instead the src folder completely disappeared.

Any idea what the heck could be going on? This is an Android project that's under version control.

解决方案

I think this post solves the mystery

My problem is that when I start working into the project, the /bin folder is generated by the SDK and a copy of the .svn folder from /src is copied into /bin/.svn, which breaks by subversion structure.

So anyone using Eclipse with Android had better be prepared to have any changes made to the bin folder reflected in src... wow.

Picture solution: alt text http://grab.by/grabs/552e113d8ad854e128dae56cf0a4a775.png

这篇关于SVN - 删除bin文件夹是如何导致src文件夹被删除的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆