Re: Customer branches
From: David Weintraub <qazwart_at_gmail.com>
Date: Thu, 25 Jun 2009 13:00:39 -0400
On Thu, Jun 25, 2009 at 5:25 AM, Geir Engebakken<geir.engebakken_at_edb.com> wrote:
Can you say "Can 'o Worms?". I knew you could!
It really depends upon how complex these code changes are between
I can imagine several solutions:
1). Use templates for these files, and build the actual files during
You can do a similar thing with C's preprocessor which can do a lot
Advantage: It's simply and easy to maintain. Only a single file has to
Disadvantage: It doesn't work if customer differences are more than a
2). Keep separate versions of customer specific files. (Like what
Advantage: Except for the few separate source changes, most of the
Disadvantage: If a feature is added or bug is fixed in one of the
3). Branching: Each customer gets their own branch.
Advantage: If you make a change in customer specific code, you can
Disadvantage: Each change, even in files that are not customer
What it comes out to is trying to balance out maintaining multiple
There is no one correct way. It all depends upon how different and
Unfortunately, it is quite easy for a company to make a valuable sale
-- David Weintraub qazwart_at_gmail.com ------------------------------------------------------ http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2365393 To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].Received on 2009-06-25 19:01:47 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.