monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] would this work to split a project


From: hendrik
Subject: Re: [Monotone-devel] would this work to split a project
Date: Fri, 26 Feb 2010 14:29:15 -0500
User-agent: Mutt/1.5.18 (2008-05-17)

On Mon, Feb 22, 2010 at 03:25:20PM -0800, Judson Lester wrote:
> There's the more immediate case, even, of discovering that part of one
> project is really a module that should be shareable - you'd like to pull it
> out into its own branch, delete files on both sides, and then merge_into_dir
> the module's branch.  Alas, since they share a common parent, this is
> forbidden.  I have a rough understanding that there's some more-than-trivial
> complication with making that possible, but I'm not clear on what it is.
> 
> Judson

Maybe the way to do it is to place new branch certs on the individual 
files in each new branch and then just check them out separately on the 
different projects?  It reminds me of the way to rename a branch, 
except there may be no need to delete the old branch.  Would 
this be similar?

-- hendrik

> 
> On Mon, Feb 22, 2010 at 6:45 AM, <address@hidden> wrote:
> 
> > Let's say I have some code checked in along some branch.  Over the year
> > it has evolved so that it has become two separate programs, that don't
> > share any code any more, and make sense to develop independently.
> >
> > Evidently, it makes sense to make two branches, one for each program.
> > The obvious way is just start new branch(es) and in each branch delete
> > all the files now belonging to the other.
> >
> > BUT.  If years down the line, someone wants to include both these
> > programs into another project, I don't want the merge saying, let's
> > merge all these changes.  Looky here, all the files of each branch have
> > been deleted on the other.  There's nothing left!  And that someone
> > mysteriously end up with no files instaed of all the files.
> >
> > Is there a better way to split a project?  If not, should there be?
> >
> > Or,
> >
> > Am I worrying about nothing?
> >
> > -- hendrik
> >
> >
> >
> > _______________________________________________
> > Monotone-devel mailing list
> > address@hidden
> > http://lists.nongnu.org/mailman/listinfo/monotone-devel
> >

> _______________________________________________
> Monotone-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/monotone-devel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]