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

RE: .svn Directory Question

From: Mark Watts <mwatts3_at_stny.rr.com>
Date: 2003-05-06 17:52:48 CEST

> -----Original Message-----
> From: Edmund Horner [mailto:edmund@chrysophylax.cjb.net]
> Sent: Tuesday, May 06, 2003 11:37
> Cc: dev@subversion.tigris.org
>
> > I have some questions about the .svn subdirectory on windows. On
> > Linux it is a hidden directory while on windows platforms it is not.
> >
> > 1. Was this done intentionally because of some requirement of
> > subversion on windows 2. Will it do any harm if I flag those
> > subdirectories as hidden. (NOTE: I have tried it already on a test
> > repository and working directory and it does not seem to
> harm anything
> > but I thought I should ask.)
> >
> > The reason I want to do this is because these directories
> are picked
> > up in all sub-directory searches, touches, etc and they
> shouldn't be.
> > This is Subversion private data that I should not be
> messing with yet
> > a simple directory for a particular file mask that includes sub
> > directories will find data in .SVN directory
>
> Hopefully, by "hidden" you mean has the hidden attribute set.
> AFAIK, in Windows this is only used for displaying the item
> in directory lists.
> There should be few applications (and Subversion should not be one of
> them) that use it for anything else.
Yes, that is what I mean. Setting hidden attribute flag for the directory.
 
> On Unix .svn is "hidden" because it begins with a dot. This
> is standard practice for things that users normally don't
> want cluttering up their listings. It doesn't affect the
> file in any other way.
Likewise in windows, it does not affect the directory or file in any other
way. The file or directory with the hidden attribute set will not appear in
Explorer or in DOS/CMD directory listings unless options are set to display
hidden files/directories. The file or directory is still accessable.

> Perhaps for consistency (in appearance, if not in practice)
> Subversion should set the hidden attribute in Windows.
I tend to agree.

> I would be very surprised if doing this manually would cause
> any problems. For your search problems, it sounds like you
> just need tools which can understand an option to ignore
> hidden items. Windows XP search has such an option, for starters.
All standars search tools in windows already ignore files and directories
with the hidden attribute set. What I am unsure of is if I set this
attribute will it negativly affect subversion in some way.

Thanks

-Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue May 6 17:53:41 2003

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

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