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

Re: File system support.

From: Daniel Patterson <danpat_at_danpat.net>
Date: 2004-12-22 21:40:05 CET

Deekshit Mantampady wrote:
> There may be a situation where a user ant to have two sessions for
> performing two different jobs, say one of Just check ins and another
> for modifications... etc. To be more prcecise, when I am in a
> different shell I don't want it to have access to those files. Not
> even read only.

   You can do this with Subversion right now, in a manner similar to
   Clearcase snapshot views. It is possible (and normal) to create
   two "working copies" in different locations, and use them for
   different purposes. This is similar to creating two snapshot
   views in Clearcase. Again, there is no "dynamic view" equivalent.

   Simply do this:

     $ mkdir workarea1
     $ mkdir workarea2
     $ cd workarea1 ; svn co http://server/repos/trunk ; cd ..
     $ cd workarea2 ; svn co http://server/repos/trunk ; cd ..

   You now have workarea1 and workarea2 which point at the same branch
   in the repository, but you can use them for different purposes.
   Changes you make in one working copy will be reflected in the other
   after you go through a commit-update cycle.

   Note that you can't layer branches/labels using any kind of
   Clearcase configspec-like system. I've always thought configspecs
   are a pretty bad idea anyway.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 22 21:42:59 2004

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.