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

branching question

From: Haggerty, Joshua <Joshua.Haggerty_at_kci1.com>
Date: Fri, 24 Jul 2009 10:42:13 -0500

We have a subversion repository (1.6) that has x (say 1000) files in trunk. When we release- we only need to branch 5 of those files for instance as we only develop and push those 5 files out. The branching works fine for files directly under trunk- but if I try to branch a file on a sub directory- I get a path not found. Examples below (using Tortoise 1.6 client).

1-Branch /trunk/a.sql to /branches/CR500/a.sql - works fine.

2-Branch /trunk/US_1/sql/ to /branches/CR500/US_1/sql - works but copies all files under sql into the branch which is undesired.

3-Branch /trunk/US_1/sql/a.sql to /branches/CR500/US_1/sql/a.sql - path not found (basically svn copy command will not create the subdir).

The work arounds would be-
a- set up the sub structure manually in every branch before branching, which is very undesired as we have very nested structures.
b- instead of branching- set up just the files I need from trunk and add to the branch. The problem here is I lose all history as subversion sees it as a new file.
c- use method 2 above, which presents some risks with our deployment process as well as other issues.

For our front end projects- we branch the whole structure as we deploy the whole structure every time. So no issues. For this environment's projects, we have so many files, deploying in that manner is not beneficial.

I am rather new to subversion, but this doesn't seem like it would be an uncommon usecase, so I have a feeling I missing something fundamental here. Can anyone point me in the right direction?

Thanks.

*****************************************************************************
"CONFIDENTIALITY NOTICE: This transmission (including any
accompanying attachments) is confidential, is intended only for the
individual or entity named above, and is likely to contain privileged,
proprietary and confidential information that is exempt from disclosure
requests under applicable law. If you are not the intended recipient,
you are hereby notified that any disclosure, copying, distribution, use
of or reliance upon any of the information contained in this transmission
is strictly prohibited. Any inadvertent or unauthorized disclosure shall
not compromise or waive the confidentiality of this transmission or any
applicable attorney-client privilege.

If you have received this transmission in error, please immediately
notify us at postmaster_at_kci1.com."

Kinetic Concepts, Inc.

******************************************************************************

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2375254

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-24 17:52:11 CEST

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.