Resolved [Eclipse] How to commit certain files to SVN?

Discussion in 'Developer Support' started by smitty260, Feb 22, 2016.

  1. Hey guys,

    I'm having trouble using the SVN in Eclipse because when I do commits it commits everything in the project folder when really all I want is one bot folder and it's sub folders. I used the same project for the tutorial bots and skeletons and stuff but I don't want to commit them. There's an svn:ignore option but it's greyed out for pretty much all files. Probably because I've committed them before. I'll add a photo of my project layout. It seems easy to use with IntelliJ so I don't know if it would be better in the long run to switch IDEs for developing bots? I've been trying different things to exclude everything except my cow killer bot but don't know how. Any suggestions would be appreciated.

    Thanks!

    Project Layout
    fsdggf.JPG


     
  2. Best Answer:
    Post #3 by smitty260, Feb 24, 2016
  3. Seems like you've added all this to your svn.
    Not sure how this would work in eclipse, but you need to remove the unnecessary folders from svn (not your drive though).
    Or do it with command line arguments.
     
  4. Yeah I wasn't suppose to add it all to the SVN. Lol. I think I removed all the folders from the SVN but not sure what to do now. xD
    --- Double Post Merged, Feb 23, 2016, Original Post Date: Feb 23, 2016 ---
    Well I was trying to figure out but now I can't commit my files for some reason. I get this error:

    Code (Text):
    1.  
    2. Some of selected resources were not committed.
    3. Some of selected resources were not committed.
    4. svn: E200014: Commit failed (details follow):
    5.  
    6. svn: E200014: Commit failed (details follow):
    7. svn: E200014: Base checksum mismatch on '/src/com/smitty260/cowkiller/CowKiller.java':
    8.    expected:  559d787c8c36bd3629fd036958182bce
    9.      actual:  124d89175ec3b7f8618f827a9c726428
    10. svn: E175002: PUT of '/svn/smitty260/!svn/wrk/f92e9d10-5301-0010-b754-7bb814de9fb6/src/com/smitty260/cowkiller/CowKiller.java': 500 Internal Server Error (https://svn.runemate.com)
    11.  
    Any ideas? xD
    --- Double Post Merged, Feb 24, 2016 ---
    Figured it out. I deleted the whole repository and all my files in my project (after backing them up) then readded the project and all the files and only commited the files I wanted instead of the whole thing. Lol.
     

Share This Page

Loading...