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

Re: [TSVN] Tortiose v1.06 new exclude pattern behaviour

From: Tamas Demjen <tdemjen_at_yahoo.com>
Date: 2004-06-20 01:20:53 CEST

I had the same problem a few months ago. Here's what I learned.

The exclude pattern may not contain directories, just files, such as
*.obj, *.exe, and so on. Also, there is no semicolon in the exclude
pattern, use spaces as separators. You should modify yours to this:
thumbs.db *.exe *.dll *.obj *.ncb *.lib *.idb *.pdb *.ilk *.msi *.res
*.pch *.suo *.aps *.*~ *.~* ~*.*

If you want to exlude additional files or entire directories, you must
manually add them to the ignore list. Once you add something to the
ignore list, the fact that it's on the ignore list is versioned as well.
So if your colleagues check out or update the repository, they will have
the same ignore list as you do. You just have to go over your "debug"
and "release" directories and add them to the ignore list, then commit
the repository.

Tom

Tate, Roy wrote:

> First, let me say thanks a bunch for TortoiseSVN. It is a very easy
> tool to use, and easy to teach to new developers.
>
> Now ... why does Tortoise v1.06 no longer exclude directories when I
> have a pattern of "ignore\; bin\;" or so. I think version 1.05 did
> this just fine. I tried changing one of the exclude patterns from
> back-slash to forward-slash, in case you were doing some sort of
> translation, but "no joy". I even tried various patterns in isolation
> "obj\", "obj/", "obj\*", "obj/*", etc. Obviously, this didn't work,
> or you wouldn't be reading this email. I finally found a solution:
> remove all exclude patterns from TortoiseSVN, and add them to
> Subversion's config file, but without any slashes. Here is an example
> that ignores directories "bin" "obj" and "ignore":
>
> [miscellany]
> global-ignores = *~ *.obj *.exe *.dll *.pdb *.pch *.lib *.msi *.res
> *.bak *.aps *.vbproj *.vbproj.user *.sln *.suo *.bak bin obj ignore
>
> To state the problem clearly, when I select the Commit menu option, in
> a working directory containing an obj sub-directory, and various
> subdirectories under that, where TortoiseSVN is configured to ignore
> "obj\", that directory and its subdirectories are displayed in the
> file list.
>
> Technical details:
> Using Tortoise version 1.06 Unicode and Windows XP
> Right-Mouse on a folder and select "Commit", and excluded directories
> show in the commit window (no excluded files, just directories)
> Problem is exhibited for both file: and svn: repository
>
> my exact exclude pattern is:
> thumbs.db;*.exe;*.dll;*.obj;*.ncb;*.lib;*.idb;*.pdb;*.ilk;*.msi;*.res;*.pch;*.suo;*.aps;*.*~;*.~*;~*.*;cvs\;release\;debug\;ignore\;bin\;obj\;

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sun Jun 20 08:03:55 2004

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

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