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

Re: Committing .svn dirs and your're toast?

From: Juanma Barranquero <lekktu_at_gmail.com>
Date: 2004-12-08 00:26:27 CET

[Sorry, that was meant for the list]

> I don't undestand, there shouldn't be any way to get '.svn' dirs into
> the repository. 'svn import' skips over them, so should 'svn commit'.
> How did you get them in there? It would be great to have a
> reproduction recipe.

Well, imposible is not, if you really *want* to get a .svn into the
repository. Try this:

 svnadmin create C:/test
 svn mkdir file:///C:/test/myproject -m "My test project."
 svn co file:///C:/test/myproject
 cd myproject
 attrib /d -h .svn
 ren .svn svn
 svn import svn file:///C:/test/myproject/svn -m "Importing .svn data."
 svn mv file:///C:/test/myproject/svn file:///C:/test/myproject/.svn
-m "Renaming."
 svn ls file:///C:/test/myproject
 svn co file:///C:/test/myproject myproject2

but it is very hard to see how that could be done by accident...

--
                   /L/e/k/t/u
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 8 00:28:35 2004

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.