wood burning stoves 2.0*
The moose likes IDEs, Version Control and other tools and the fly likes svn:ignore quandries Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "svn:ignore quandries" Watch "svn:ignore quandries" New topic
Author

svn:ignore quandries

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

I've got IDE project files I need to keep out of SVN. I've been trying to set them to ignore through Intellij IDEA but it never works. So I've been trying from the command line with out much luck either. Anyone have a good reference link aside from the official svn docu that would be helpful?

Also, is there a way to keep other devs from being able to commit specific files to svn? If I get ignore working will it take care of this or is it per machine?


GenRocket - Experts at Building Test Data
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Alright, I figured out how to get svn:ignore to work. Problem is it really doesn't do what I expected it to do. So now the question remains...Is there a way to keep other developers from checking in specific file?
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

So my new idea is to have the pre-commit check the file(s) against an ignore list and failing if it finds one. The only problem I am having now is I don't know perl. Has anyone done anything like this before? I need to get a list of file names and then report an error to STDERR if it finds one and return non-zero exit code.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: svn:ignore quandries
 
Similar Threads
Questions about SVN and Intellij IDEA 8
File structure is detached from SVN repository.
eclipse3, svn and synchronization
Setting up and configuring Subversion and Bugzilla
error in SVN