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

RE: Getting visual studio to ignore .svn directoriesq

From: Keith Moore <Keith.Moore_at_securency.com>
Date: Sat, 26 Jun 2010 13:31:52 +1000

-----Original Message-----
From: Andy Levy [mailto:andy.levy_at_gmail.com]
Sent: Saturday, 26 June 2010 1:54 AM
To: Greene, Geoffrey N
Cc: users_at_subversion.apache.org
Subject: Re: Getting visual studio to ignore .svn directoriesq

On Fri, Jun 25, 2010 at 11:27, Greene, Geoffrey N
<geoffrey.n.greene_at_boeing.com> wrote:
> Apologies if I'm sending this to the wrong group
>
> OK, we are looking at converting our repository from cvs to subversion.
>
> In my first (toy) attempt, I've discovered the .svn/text-base/originalfile.txt.svnbase file.   This presents a minor problem for me because in visual studio sometimes I need to do a search.  If I change "Look in:" to be a directory (not the project or a solution), then it recurses down into .svn directories, and finds double copies of most things.   I don't always want to search the project or the solution, sometimes I want to search every file in a directory, and then it ends up finding multiple copies.

>
> Annoying.
>
> (If I were to use gnu find  I could just do a grep -v \.svn)
>
> Succinctly put, is there some way to get visual studio to NOT recurse down .svn directories?  Someone MUST have hit this issue.

Haven't had this particular issue but I wonder if AnkhSVN (Visual
Studio plugin for SVN) helps filter this out. I've only ever used VS
with AnkhSVN installed, so maybe that's why I don't see it?
-----------------------------------------------------------------
I've used subversion and Visual Studio 2003, 2005 and 2008 for quite a while and never ran into this problem. Do the .svn folders have the Hidden attribute? Do you show hidden files in explorer? It's the only possibility I can think of that would yield the results you describe. I even ran a search as you suggest an it didn't look in the .svn folder. I do not show hidden files and my .svn folders have the hidden attribute set.

#####################################################################################
Attention:
The information contained in this message and or attachments is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the sender and
delete the material from any system and destroy any copies.
#####################################################################################
Received on 2010-06-26 05:32:41 CEST

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

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