Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

svn:ignore quandries

 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic