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

Re: Ability to change/control .svn file name?

From: <kfogel_at_collab.net>
Date: 2003-12-17 22:06:45 CET

Joachim Strömbergson <watchman@ludd.luth.se> writes:
> So, is there any way I can control the dirctory naming when installing
> Subversion/creating the repo or when checking out a working copy?

The only way to control this is by patching your Subversion client. I
thought we had a FAQ for this, but apparently not. Anyone want to
make one? :-)

It's a very easy patch, something like this:

Index: subversion/include/svn_wc.h
===================================================================
--- subversion/include/svn_wc.h (revision 8027)
+++ subversion/include/svn_wc.h (working copy)
@@ -668,7 +668,7 @@
  * against importing administrative subdirs, so now the name is a
  * matter of public record.
  */
-#define SVN_WC_ADM_DIR_NAME ".svn"
+#define SVN_WC_ADM_DIR_NAME "SVN"
 
 
 

> Is there any generally great pedagogical reason why the directory is
> hidden that I'm missing?

No, we basically took a vote. But once it was decided, the client had
to enforce it, because otherwise different versions of Subversion
couldn't use the same working copy.

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 17 22:56:49 2003

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.