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

Re: Subversion configuration directories / files visible to the user

From: Ryan Schmidt <subversion-2009d_at_ryandesign.com>
Date: Sat, 21 Nov 2009 01:34:55 -0600

On Nov 21, 2009, at 01:28, Ravi Roy wrote:

> On Sat, Nov 21, 2009 at 12:51 PM, Ryan Schmidt wrote:
>>
>
>> On Nov 21, 2009, at 01:17, Ravi Roy wrote:
>>
>>> I run the command svn ls http://myrepo/svn/MyProject
>>>
>>> README.txt
>>> branches/
>>> conf/
>>> dav/
>>> db/
>>> format
>>> hooks/
>>> locks/
>>> various_locations.ppt
>>> tags/
>>> trunk/
>>
>> Ok, in that case, your Apache is set up fine. Somebody just checked items into the repository that they shouldn't have: README.txt, conf, dav, db, format, hooks, locks. To clean this up, "svn rm" them now. Examine the "svn log" of these items if you're interested who committed them. The person who committed them seems to have been confused about the difference between a working copy and a repository and seems to have treated a repository as a working copy.
>
> Thanks Ryan.
> where to run rm command ? under /var/repo/svn or ? If i remove conf,
> dav, db, format, hooks, locks .. will everything fine ? becuase
> conf,db,format,hooks and locks are SVN repository files...not user
> files.

Not rm -- *svn rm*.

Do not touch any files or directories in /var/repo/svn.

Do this:

svn rm \
http://myrepo/svn/MyProject/README.txt \
http://myrepo/svn/MyProject/conf/ \
http://myrepo/svn/MyProject/dav/ \
http://myrepo/svn/MyProject/db/ \
http://myrepo/svn/MyProject/format \
http://myrepo/svn/MyProject/hooks/ \
http://myrepo/svn/MyProject/locks/ \
-m "Removing inadvertently added items"

P.S: Don't forget to Reply All so this discussion stays on the mailing list.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2422706

Please start new threads on the <users_at_subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <users-subscribe_at_subversion.apache.org>.
Received on 2009-11-21 08:35:42 CET

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.