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

Re: Enhancement: displaced .svn

From: Tommy Nordgren <tommy.nordgren_at_chello.se>
Date: 2005-07-20 15:13:54 CEST

Jul 20, 2005 kl. 2:32 PM skrev Vladimír Marek:

> Hello,
>
> I was thinking for some time about new feature, displaced .svn. As I
> don't know svn internals, I'm looking at it just as user. Also it
> might
> been asked and answered before, but I haven't found it.
>
> Description:
> Normally in every directory of working copy you have '.svn' directory
> containing some metadata required for svn. I am thinking about way
> getting those metadata out of actual working copy. My idea from the
> user
> point of view is to split working copy directory and metadata
> directory
> into two independent paths.
>
> You would have environment variable like SVN_METADATA defining the
> head.
>
> When the variable would not be set, everything would work as normally.
>
> /work/project/
> /work/project/.svn/
> /work/project/README
> /work/project/src/
> /work/project/src/.svn/
> /work/project/src/a.cpp
>
> If you would set SVN_METADATA to /work/project.meta, it would work as:
>
> working copy:
> /work/project/
> /work/project/README
> /work/project/src/
> /work/project/src/a.cpp
>
> metadata:
> /work/project.meta/
> /work/project.meta/.svn/
> /work/project.meta/src/
> /work/project.meta/src/.svn/
>
> I hope you have the idea.
>
> Why:
> a) Your working copy would not be clobbered, you could just tar.gz it
> and ship
> b) Imagine having network drive used for collaboration. You could have
> the drive under svn control with the metadata stored locally, which
> would not bother other people using that drive. The drive even does
> not 'need to know' that it's versioned. And you would not vaste
> network drive space for your obsession by svn :)
> c) You could use b) as poor man's incremental backup, without
> affecting
> the data
>
> My questions:
> Is it sane from the svn internals view ?
> Do I have any chance to get it implemented ? :)
> If I start to create patch for this, is there chance to get it to the
> trunk ? Under what conditions ?
     This is A VERY BAD IDEA.
If you're working on more than one project, they will all share
metadata if the environment variable is
set.

"Home is not where you are born, but where your heart finds peace" -
Tommy Nordgren, "The dying old crone"

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 20 23:06:32 2005

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.