SVN - 如何删除bin文件夹会导致src文件夹被删除呢?夹被、文件夹、文件、SVN

2023-09-05 06:34:47 作者:爷的霸气你学不来

有与一堆.class文件等垃圾,不应该版本的版本控制bin文件夹。可能有人请向我解释如何以下承诺:

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

我回到通过SVN日志,有人提醒我说,这事发生之前 - 果不其然,一是两个不同场合开发商曾试图删除bin文件夹,而是src文件夹完全消失。

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.

任何知道你到底可以怎么回事?这是一个Android项目的版本控制之下。

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

推荐答案

我觉得这个帖子解决之谜

我的问题是,当我开始工作到项目中,/ bin中   文件夹是由SDK和.svn文件夹从/ src目录拷贝生成   复制到/bin/.svn,打破被颠覆的结构。

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.

所以使用Eclipse与Android的人最好是prepared有bin文件夹所做的任何更改反映在SRC ...哇。

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: