Making your branches smaller for easier merges

Manuel López-Ibáñez lopezibanez@gmail.com
Wed Sep 27 23:06:00 GMT 2006


On 27/09/06, Andrew Pinski <pinskia@physics.uc.edu> wrote:
> >
> > On 27/09/06, Diego Novillo <dnovillo@redhat.com> wrote:
> > > Manuel López-Ibáñez wrote on 09/27/06 17:38:
> > >
> > > > Why? Perhaps I am entirely wrong but can't you just don't update (svn
> > > > up) those directories that are switched until mainline is in an usable
> > > > state?
> > > >
> > > If a pristine directory needs changes from the directory I branched, I'm
> > > in trouble.
> > >
> >
> > Why? Sorry, I think I don't understand what you mean.
>
> For an example, an extension is added to the C++ front-end and a change to the
> libstdc++ library that now require this extension.  Now you have a mix match between
> the library and the compiler as you are using a pristine libstdc++ from the mainline
> but a branched C++ front-end.
>

Sorry, I still don't see where is the problem. You either want the
extension in your branch, so you merge it and simply update libstdc++,
or you don't want the extension just yet, so you just don't update
libstdc++ (or update back to your previous revision).

If you had branched libstdc++ you would have a similar situation: to
merge or not to merge the extension to both.


More information about the Gcc mailing list