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

Global .svn directory and move of .svn directory

From: Gerhard Wiesinger <lists_at_wiesinger.com>
Date: 2007-11-11 11:18:42 CET

Hello!

Subversion is really a great SCM program. One thing I don't like is the
.svn directory at all. It only makes problems.

E.g.:
1.) Checkout directory
2.) Copy directory for checkin on another location e.g. for new file
derived from that file (I don't want the history of that file so I don't
use svn copy)
3.) When you make changes in the newly copied directory and .svn was
also copied you are modifying the original directory.

So IHMO this is a bug and svn must remember the original local checkout
directory and when I'm moving that directory it must warn me that I made
something wrong or I'm sure what I'm doing.

The best solution to that might be a global .svn meta directory tree:
1.) Set e.g. SVN_GLOBAL_DIR=$HOME/.svn/ environment variable or a svn
configuration property, all .svn metainformation are
stored in that location.

E.g.
/home/user1/mycheckout/.svn should be stored in
$SVN_GLOBAL_DIR/home/user1/mycheckout/.svn

/home/user1/mycheckout/dir1/.svn should be stored in
$SVN_GLOBAL_DIR/home/user1/mycheckout/dir1/.svn

So I've "clean" directories and meta information can be stored, too.

Is there already a patch available or can this be easily implemented?

Thnx.

Ciao,
Gerhard

--
http://www.wiesinger.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Nov 11 11:19:29 2007

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.