SVN Excluding

Hi folk! I was wondering if there exists and way to mark a directory and/or file for exclusion when it comes to svn commits. In our specific case, we have a number of .ipr files checked in that we don't want everyone's customizations checked in. I get a little tired of having to uncheck these every time I do a commit. =) Is there a known plugin or option to tell IntelliJ "when committing, ignore this directory"? Thanks!!

2 comments
Comment actions Permalink

Hello Daniel,

Hi folk! I was wondering if there exists and way to mark a directory
and/or file for exclusion when it comes to svn commits. In our
specific case, we have a number of .ipr files checked in that we don't
want everyone's customizations checked in. I get a little tired of
having to uncheck these every time I do a commit. =) Is there a
known plugin or option to tell IntelliJ "when committing, ignore this
directory"? Thanks!!


You can use the standard svn:ignore property to mark the .ipr file as ignored.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Right click on the top-level project directory->Subversion->Set Property->Choose svn-ignore property, put this in the textbox:

*.iml
*.ipr
*.iws

The ignore property only applies to the directory you set it on, does not apply to sub-directories.

BTW, my team has been having pretty good success lately with putting the ipr and iml files under version control. (we had issues previously but under 7.x these files seem to play nice with version control).

http://svnbook.red-bean.com/en/1.4/svn-book.html#svn.advanced.props.special.ignore

You can do this from the command line to if you have a svn client:

http://svnbook.red-bean.com/en/1.4/svn-book.html#svn.ref.svn.c.propset
http://svnbook.red-bean.com/en/1.4/svn-book.html#svn.ref.properties

Edited by: Michael Parmeley on Apr 10, 2008 6:08 PM

0

Please sign in to leave a comment.