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

Relocating admin dir outside of the working copy.

From: Pawel Gega <pgega_at_secpay.com>
Date: Wed, 17 Dec 2008 17:28:12 +0000

Hello ,

I develop host integrity monitoring utility and I found the subversion as
perfect backend for my monitoring daemon.

The only one problem I really met with my subversion-based host integrity
monitoring is the '.svn' admin dir in
working copy path - something quite obvious for source control and
development, but not for the security monitoring.

I got round the problem of .svn directories by caching them in the separate
secured directory. So i used cached .svn dirs
instead of those real ones in working copies (the monitored directories) when
doing commits to SVN repo. In that way , some users could even corrupt the
.svn dirs but they still could not break the working copy.

I am wondering if you could tell me ,how hard would it be to patch subversion
code to not to use .svn admin dirs inside working copy (but to be placed
outside of it).
I know it is fairly easy to change the name of the admin dir within the source
code, but would it be hard to change to path to admin directory ? i.e relocate
it some safe place.

I just downloaded the latest code from subversion's SVN repo.

Thanks for you time,
Pawel Gega

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=985888
Received on 2008-12-17 18:42:48 CET

This is an archived mail posted to the Subversion Dev mailing list.