> -----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