SVN – how does removing a bin folder cause the src folder to be removed instead?

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:

  • How do I setup my Git repositories for Android development in Eclipse?
  • GIT: Two different repositories with one shared folder
  • Repo sync fails to initialize CM13 work tree
  • Android Studio not checking Java files into GitHub
  • Integrate Visual Studio online Git Repository to Android Studio 1.0.2
  • Jenkins Git Publisher: How to commit code back to master after build?
  • 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.

  • Will Subversion efficiently store OpenXML Office documents?
  • Eclipse, Subclipse 1.8.2, SVN 1.7.0 asks password every action
  • Command prompt not working after installing TortoiseSVN
  • How to keep .git folder out of a Cloned Eclipse Project
  • Code freeze in SVN - Build management
  • How to get revision number from subversion using maven?
  • 2 Solutions collect form web for “SVN – how does removing a bin folder cause the src folder to be removed instead?”

    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

    I recommend to set svn:ignore property on parent (of src and bin) with value bin to prevent committing bin folder.
    BTW: In our team 2 persons also deleted src while trying to delete bin – it seems it is Eclipse related problem…

    Git Baby is a git and github fan, let's start git clone.