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

Re: Beginners cry fro help getting started

From: Miha Vitorovic <mvitorovic_at_nil.si>
Date: 2005-08-18 09:05:21 CEST

Ryan Schmidt <subversion-2005@ryandesign.com> wrote on 18.08.2005
02:08:48:

> On 18.08.2005, at 00:26, Michael Wehrle wrote:
>
> > I have been developing a software system for a couple of years now.
> > During that time I had to customize certain areas for different
> > customers and that resulted in
> > me having 5 different "copies" of originally the same software.
> > Much of the code of those different "copies" is (or should be) of
> > course exactly the same.
> >
> > [snip]
> >
> > Can someone please help me taking the steps to "import" all these
> > various "copies" I currently have into subversion?
> >
> > How do I create branches from these copies?
> > Or canI?
> > Do I have to dedicate one copy as the trunk first ?
> > Can I actually import the copies into branches?
>
> The idea here would be that /customer1/trunk/ would only contain a
> directory linked to /genericsoftware/trunk/ plus whatever
> configuration files or additional code or graphics are necessary to
> customize it for that customer. The generic software would obviously
> also have to be rewritten in this case, to know to look for the
> configuration files and other files out there. But on paper this also
> sounds like a nice idea since there would be no need to merge anything.

I'd say that svn:externals are more that nicely suited for this. Having a
common codebase, and customer branches, and that way you know that if you
fix a bug in the common codebase, and rebuild the customers' packages,
you'd fix the bug for all the customers in one step (you'd still have to
test all the customer branches of course).

Cheers,

---
  Miha Vitorovic
  Inženir v tehničnem področju
  Customer Support Engineer
   NIL Data Communications,  Tivolska cesta 48,  1000 Ljubljana,  Slovenia
   Phone +386 1 4746 500      Fax +386 1 4746 501     http://www.NIL.si
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 18 09:08:27 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.