[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Eclipse /bin/.svn still causes heartburn

From: Bob Archer <bob.archer_at_amsi.com>
Date: Thu, 7 Jan 2010 17:04:48 -0500

> I have included "bin" to the TortoiseSVN->Settings:Patterns to
> Ignore
> list
> I have included "bin/*" to same list.

Keep in mind... that ignored files are only ignored if they are NOT versioned. If your bin folder or its contents are in your repository they are going to get overlays.

> I have included "**/.svn" to the Eclipse Source Exclude list.

Erm.... .svn knows that .svn is not a versioned folder already. You shouldn't need to excluded or ignore it. Are you getting .svn folders in your repository?

> Eclipse *still* copies the .svn folders from the src/ folder to the
> bin/ folder.

I think this is an Eclipse issue, and not a tsvn issue. You might want to ask about this in an Eclipse mail list.

> TortoiseSVN *still* sees the .svn folders in the bin/ folder then
> puts
> a Red Icon on the folder, and hence the including project folder,
> indicating that changes need to be committed, when in fact, the
> source
> is completely up-to-date.
> What am I doing wrong?

What exactly is your global ignores set to? I'm thinking that global ignore are for files only and don't work for folder names. Yea, from the svn book:

"The Subversion runtime configuration system provides an option, global-ignores, whose value is a whitespace-delimited collection of file patterns. The Subversion client checks these patterns against the names of the files that are candidates for addition to version control, as well as to unversioned files that the svn status command notices. If any file's name matches one of the patterns, Subversion will basically act as if the file didn't exist at all. This is really useful for the kinds of files that you almost never want to version, such as editor backup files such as Emacs' *~ and .*~ files."

Notice it says "FILE PATTERNS".

You can ignore folders using svn:ignore property. Just put the name of the folder as an svn:ingnore property in the parent folder of your bin folder. You can do this pretty easily with TSVN just right click on the folder in the ADD dialog and choose "add to ignore list".



To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-01-07 23:04:44 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.