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

Re: .svn vs _svn on VS.NET (ASP.NET)

From: C.A.T.Magic <c.a.t.magic_at_gmx.at>
Date: 2004-03-09 12:04:03 CET

> 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

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.