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

commit parent-dir from child-dir

From: Regner Trampedach <art_at_mso.anu.edu.au>
Date: 2006-09-07 10:06:18 CEST

Dear SVN user-mailing-list

  I have a directory structure as this:

      parent --> child1
             --> child2
             --> child3

The repository was created with:
   svnadmin create [path-to-repos]/parent
   svn import [path-to-parent]/parent file://[path-to-repos]/parent -m [comment]
   svn checkout file://[path-to-repos]/parent [path-to-WC]/parent

Now both the parent and the "children" are SVN-directories, each with
a .svn directory inside (on UNIX/Linux).

Q: Can I change the default behaviour of svn so that it acts on
   "parent" even when invoked from a "child"?

Motivation: I have files linked between the different "children"
   so that I can share files and keep consistency. Now, if I work
   on child2 and change fileA which is linked from child1, then
   svn won't see any changes from child2 as the *link* is unchanged.
   I will need to go to parent or child1 to see and commit the
   change. This might seem a small inconvenience, but I'm more
   concerned about ensuring consistency and that other people
   working on this project don't loose their updates.

I have read the svn-book closely and haven't found anything
applicable - and using externals for the common files won't work
for me either since changes to the external part would have to
be committed separately. A bit cumbersome for my situation.

   Thanks

     Regner

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 7 10:07:59 2006

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.