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

RE: RE: Overlay directories in subversion

From: Robert Hunter <robert.hunter_at_gen-i.co.nz>
Date: 2005-04-07 02:41:36 CEST

Eden Crane wrote:
>>>Krishna Raman wrote:
>>> Does anyone know how I can overlay directories/files in subversion.
>>>
>>> here is the issue. I have 2 subversion folders under 1 repository
>>> /svn/repos/ProjectA/ /svn/repos/ProjectA/a
>>> /svn/repos/ProjectA/b
>>> /svn/repos/ProjectA/c
>>> /svn/repos/ProjectA/d
>>>
>>> /svn/repos/ProjectASuppliment/ /svn/repos/ProjectASuppliment/e
>>> /svn/repos/ProjectASuppliment/f
>>> /svn/repos/ProjectASuppliment/g
>>>
>>> I want to be able to check out both into my home directory in such a
>>> way that i see
>>>
>>> /home/kraman/ProjectAFull/a
>>> /home/kraman/ProjectAFull/b
>>> /home/kraman/ProjectAFull/c
>>> /home/kraman/ProjectAFull/d
>>> /home/kraman/ProjectAFull/e
>>> /home/kraman/ProjectAFull/f
>>> /home/kraman/ProjectAFull/g
>>>
>>> I know this is possible with ClearCase. Any ideas on how to do this
>>> with subversion?
>>
>> $ mkdir /home/kraman/ProjectAFull
>> $ cd /home/kraman/ProjectAFull
>> $ svn checkout $REPOS/ProjectA .
>> $ svn checkout $REPOS/ProjectASuppliment/e
>> $ svn checkout $REPOS/ProjectASuppliment/f
>> $ svn checkout $REPOS/ProjectASuppliment/g
>
> How would you check those files back in when you are done modifying them?
>

$ cd /home/kraman/ProjectAFull
$ svn commit *

The "svn status" and "svn commit" commands consider the folders
from ProjectASuppliment to be unversioned when considering
the working copy at /home/kraman/ProjectAFull.

Explicitly specifying the sub-folders though, there's no issue
because each folder is a working copy in itself.

-- 
Robert Hunter
*****************************************************************************
This communication, including any attachments, is confidential.
If you are not the intended recipient, you should not read it
- please contact me immediately, destroy it, and do not copy
or use any part of this communication or disclose anything about it,
Thank you.
Please note that this communication does not designate an information system
for the purposes of the Electronic Transactions Act 2002
******************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 7 03:25:04 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.