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

Can I "graft" one project's working directory beneath another?

From: <jhw_at_lmi.net>
Date: 2004-11-06 04:42:39 CET

Hello everybody. I'm a newbie here, so let me start by saying that
I'm crazy about Subversion and I regret that I didn't adopt it
earlier.

I've tried to find documentation for the operation I am about to
describe in the manual and in the archives for this mailing list,
but I'm having trouble finding keywords to express what I'm aiming
at.

I have a repository that looks like this:

  /
    library/
      trunk/
      tags/
    project-a/
      trunk/
      tags/
    project-b/
      trunk/
      tags/

I would like my working directories to look like this:

  ~
    project-a/ # points to repo:/project-a/trunk
      library/ # points to repo:/library/trunk
    project-b/ # points to repo:/project-b/trunk
      library/ # points to repo:/library/trunk

That is, I would like the working directory for each project to
include a full working copy of the library, but I don't want
these things to be branches: I want them to track the HEAD of
repo:/library/trunk.

What I'm really hoping to get out of this is stuff like this:

  me:~ > svn cp project-a repo:/project-a/tags/tag0001

..and have this do the nice recursive thing of including an
*simultaneous* tag of the library trunk inside the tag of
project-a.

I'd also like to be able to edit and commit files in
project-a/library, then go over to project-b and do an update and
get those changes.

I tried just checking out project-a/trunk, then checking out
library/trunk from within my working directory of project-a, but
then my "svn status" just shows a "?" for the library subdirectory.

I feel like I'm missing something. Can anybody point me to the
proper piece of documentation?

Many thanks,
-Jesse
 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Nov 6 04:43:17 2004

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.