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

Re: .svn directories

From: Kumaran Santhanam <kumaran_at_tigris.org>
Date: 2003-08-25 17:57:51 CEST

On Mon, 25 Aug 2003, Greg Hudson wrote:
> On Mon, 2003-08-25 at 10:44, kfogel@collab.net wrote:
> > Jesper Bork <Jesper.Bork@eu.fkilogistex.com> writes:
> > > directories. You could say that this reflects a lack of
> > > self-dicipline, but I believe that unless an even easier
> > > way of doing stuff like that exists, this is what people
> > > do.
...
> I don't think it's a very compelling argument, though. Won't these same
> people expect to be able to copy-paste from working directories and
> continue doing work? That only works if we have embedded .svn
> directories.

There are commercial solutions that do not have embedded
administrative directories. They simply provide a clean command
with which to copy/move workspace directories.

I intend to implement this in phase 2 of my patch. Phase 1 will
simply be getting the feature to work as a config file option. I
was thinking of a new command 'wc' (working copy)

It would go something like this:

User desires to copy workspace /home/user/venus to /home/user/mars :
1) cp -R /home/user/venus /home/user/mars
2) svn wc copy /home/user/venus /home/user/mars
3) svn wc list
/home/user/venus
/home/user/mars

User desires to move workspace /home/user/venus to /home/user/mars :
1) mv /home/user/venus /home/user/mars
2) svn wc move /home/user/venus /home/user/mars
3) svn wc list
/home/user/mars

User wishes to remove a workspace from control :
1) svn wc remove /home/user/venus

User wishes to edit the working copy list:
1) svn wc edit
[Opens editor with the following text]
/home/user/venus -> (REPO URL)
/home/user/mars -> (REPO URL)

2) user can manipulate the left side of the mapping

An intended side-effect of separated meta directories is the fact
that you can get global information about all of your workspaces
at once. This is a common features in popular commercial SCM
solutions, and one which I have found extremely useful.

Regards,
Kumaran

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Aug 25 18:00:01 2003

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.