> Okay, first: It is not the repository which protects against
> problematic names like ".svn", it is client code. Try this:
>
> $ svnadmin create foo
> $ svn mkdir -m "Adding a dir." file://`pwd`/foo/.svn
> Committed revision 1.
> $ svn ls -v --recursive file://`pwd`/foo/
> 1 jrandom Mar 08 16:30 .svn/
> $
>
> Surprised? This is deliberate policy. As Brane and others pointed
> out a long time ago, the ".svn" name is special only to the client
> libraries. There's no reason for the server to object to that name,
> so it doesn't.
hmm, thats an interresting thing. after actually adding such a
".svn" folder to the repository you can't check out a wc anymore.
|| svn: Failed to add directory '.svn': object of the same name already
exists
but ofcourse you can rename or delete it usign a repository url to fix it.
please not that this is not unlikely to happen when using WebDAV -
some dumb user could accidentally copy an -already-versioned-
directory to the server.
:-)
c.a.t.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 9 12:04:21 2004