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

Re: Base text files, re: IRC chat

From: Gunnar Dalsnes <hardon_at_online.no>
Date: Tue, 16 Sep 2008 01:45:40 +0200


Talden wrote:
That a wc is fully operational on its own is very important, and I often
move wc's around and it "just works". This was one of the reasons we moved
from Vault.
    

Again, ala Bazaar.

1. Checking out a Working-Copy (WC) without a separate Meta-Data area (MD).

Creates a .svn at the top of the WC that has all of the meta-data
required for the WC to be completely standalone.

2. Checking out a WC into a folder that is enclosed by an MD.

Creates a .svn at the top of the WC that knows to locate and place
certain meta-data further up the path tree (no record of where,
relative or absolute, so that they are independently movable).

- Standalone WCs can be moved around freely.

- WCs inside an MD can be moved around freely within the MD.

  
Good plan!
- A command is needed to make a WC inside an MD into a standalone that
can be moved outside of the enclosing MD.
  
I see an additional option here: move wc out of MD as standalone or move out as referencing wc (with abs path to MD). And off course, a referencing wc can be initially created outside the MD (must specify path to MD):-)
- A command is also needed to efficiently move a WC into an enclosing MD.

  
If moving a referencing wc into MD, this could happend automatically the next time MD detects sub-wc's (during cleanup) and change wc from referencing to non-referencing.
Other than a lack of means to clean-up, there's no reason we could not
support an argument to specify where the MD is rather than just look
for one in the parent path.  That lack of clean-up could suck a bit
though.
  
If MD have abs path to wc's outside MD, cleanup could be disabled if not all referenced wc's can be reached (error: cannot cleanup, referenced wc X not found), and this can be remedied by either removing the wc reference or update the reference (manually by running a command). But since the referencing wc have abs path to MD, any operations done on a referencing wc (after a move\rename), can update the wc's abs path in MD, so this would (mostly) happend automatically.

But I'm just dreaming here: this sounds a bit (too) complicated:-)

Gunnar.
--
Talden



  
--------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.org Received on 2008-09-16 01:46:25 CEST

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