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

Re: A proposed solution for svn admin directory names

From: Andrew Thompson <andrewkt_at_aktzero.com>
Date: 2005-06-29 15:10:13 CEST

Did I miss the discussion about this, or did it not happen?

Jonathan Malek wrote:
> I know there is quite a bit of resistance to dealing with the issue of
> .svn vs. _svn (or really any other name) as admin directory names,
> especially given the presence of other work-arounds, but it still
> continues to present a roadblock to some of us (especially those who
> have to deal with contractors and developers while also maintaining a
> decent automated build environment).
>
> So while running my usual recompile to create modified executables
> that support "_svn", I decided to try something different. I am
> aiming for something that doesn't change the way the vast majority of
> SVN users work, but allows the poor fellow who really needs "_svn" to
> continue to work.
>
> Instead of changing svn_wc.h with the usual:
>
> #define SVN_WC_ADM_DIR_NAME ".svn"
>
> I decided to fetch the dirname from the environment:
>
> #define SVN_WC_ADM_DIR_NAME ( ( getenv( "SVN_ADM_DIR") ) ? ( getenv(
> "SVN_ADM_DIR") ) : (".svn") )
>
> This works just fine for anyone who hasn't set the environment
> variable, but allows the rest of us to change it without recompiling.
> I'm sure some other devs can come up with better suggestions, but--how
> about it?
>
> Thanks,
> Jonathan Malek

-- 
Andrew Thompson
http://aktzero.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Wed Jun 29 15:11:14 2005

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.