On Sun, Feb 14, 2010 at 5:30 PM, Stefan Sperling <s...@elego.de> wrote: > The WC holds the references to the pristine store. > So if the WC is deleted, so are references it has to the pristine store, > without doing anything special.
How could a reference to "~/.subversion/shared/SHA" be stored in a way that a reference to it (presumably in a database somewhere) is removed, and the shared file deleted (if it's the final reference), when I rm -rf a WC? > The functionality you speak of happens to work because of the way the > 1.6 working copy format has been modeled on CVS. I'm not sure if > detaching subtrees from a working copy was a high priority design goal > to begin with, or if it was a side effect. I'd suspect the latter. > It is a bit contradictory to the "working copies are cheap and > disposable" mantra. It's a useful result of the design of both systems, whether or not it was an explicit design goal. I don't understand the connection to "cheap and disposable", though. -- Glenn Maynard