Skip to main content



      Home
Home » Eclipse Projects » Subversive » Turn off auto commit of new files
Turn off auto commit of new files [message #532970] Tue, 11 May 2010 13:40 Go to next message
Eclipse UserFriend
If I create a new file and then do a commit, it is now listed in the "commit" window. How do I turn this off? I only want resources listed there that are under version control. If I want to add the new resource to version control I can do a Team->Add to Version control.

This is really annoying and only started happening when I upgraded to Eclipse 3.5.

For example. I make changes to my code. I build my project via ant which creates a jar file. Now I want to commit the changes. The changed files are listed in the commit window, but so is the .jar that is build. How do I configure this so the .jar isn't listed in the commit window? I know I can just svn:ignore it, but that is a pain to do when I have many generated files and directories that are not under version control, but now appear every time I want to do a commit.
Re: Turn off auto commit of new files [message #532989 is a reply to message #532970] Tue, 11 May 2010 14:40 Go to previous message
Eclipse UserFriend
Tue, 11 May 2010 13:40:40 -0400, /jbppsu@gmail.com/:

> If I create a new file and then do a commit, it is now listed in the
> "commit" window. How do I turn this off? I only want resources listed
> there that are under version control. If I want to add the new resource
> to version control I can do a Team->Add to Version control.
>
> This is really annoying and only started happening when I upgraded to
> Eclipse 3.5.

I think it has always been like that. For this there's a preference
setting "Check the new resources in the commit dialog":

http://www.eclipse.org/subversive/documentation/preferences/ pref_svn.php

I have it unchecked. New resources get listed in the commit dialog
but are unchecked by default and so are not committed automatically.

> For example. I make changes to my code. I build my project via ant which
> creates a jar file. Now I want to commit the changes. The changed files
> are listed in the commit window, but so is the .jar that is build. How
> do I configure this so the .jar isn't listed in the commit window? I
> know I can just svn:ignore it, but that is a pain to do when I have many
> generated files and directories that are not under version control, but
> now appear every time I want to do a commit.

You may consider placing all build generated stuff under a single
directory you have once ignored with svn:ignore.

--
Stanimir
Previous Topic:Cherry picking changes during merge
Next Topic:Recursion Hades Upgrading to 0.7.9
Goto Forum:
  


Current Time: Mon Sep 22 17:37:44 EDT 2025

Powered by FUDForum. Page generated in 0.03252 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top