[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] cvs import
From: |
Daniel Carosone |
Subject: |
Re: [Monotone-devel] cvs import |
Date: |
Thu, 14 Sep 2006 09:52:27 +1000 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Thu, Sep 14, 2006 at 09:21:39AM +1000, Daniel Carosone wrote:
> > I have no particular idea on how to handle tags and branches here;
> > I've never actually wrapped my head around CVS's model for those :-).
> > I'm not seeing any obvious problem with handling them, though.
>
> Tags could be modelled as another 'event' in the file graph, like a
> commit. If your frontier advances through both revisions and a 'tag
> this revision' event, the same sequencing as above would work.
Likewise, if we had "file branched" events in the file lifeline (based
on the rcs id's), then we would be sure to always have a monotone
revision that corresponded to the branching event, where we could
attach the revisions in the branch.
Because we can't split tags, and can't split branch events, we will
end up splitting file commits (down to individual commits per file) in
order to arrive at the revisions we need for those.
Because tags and branches can be across subsets of the tree, we gain
some scheduling flexibility about where in the reconstructed sequence
they can come.
Many well-managed CVS repositories will use good practices, such as
having a branch base tag. If they do, then they will help this
algorithm produce correct results.
Once we have a branch with a base starting revision, we can pretty
much treat it independently from there: make a whole new set of file
lifelines along the RCS branches and a new frontier for it.
--
Dan.
pgpJzFa459UP8.pgp
Description: PGP signature
- [Monotone-devel] Re: cvs import, (continued)
- Re: [Monotone-devel] Re: cvs import, Nathaniel Smith, 2006/09/14
- [Monotone-devel] Re: cvs import, Markus Schiltknecht, 2006/09/15
- [Monotone-devel] Re: cvs import, Shawn Pearce, 2006/09/15
- [Monotone-devel] Re: cvs import, Oswald Buddenhagen, 2006/09/16
- Re: [Monotone-devel] Re: cvs import, Nathaniel Smith, 2006/09/16
Re: [Monotone-devel] cvs import, Nathaniel Smith, 2006/09/13
- Re: [Monotone-devel] cvs import, Daniel Carosone, 2006/09/13
- Re: [Monotone-devel] cvs import,
Daniel Carosone <=
- Re: [Monotone-devel] cvs import, Keith Packard, 2006/09/13
- Re: [Monotone-devel] cvs import, Nathaniel Smith, 2006/09/13
- Re: [Monotone-devel] cvs import, Jon Smirl, 2006/09/13
- Re: [Monotone-devel] cvs import, Daniel Carosone, 2006/09/13
- Re: [Monotone-devel] cvs import, Shawn Pearce, 2006/09/13
- Re: [Monotone-devel] cvs import, Daniel Carosone, 2006/09/13
- Re: [Monotone-devel] cvs import, Petr Baudis, 2006/09/15
- Re: [Monotone-devel] cvs import, Shawn Pearce, 2006/09/14
[Monotone-devel] Re: cvs import, Lapo Luchini, 2006/09/15
Re: [Monotone-devel] cvs import, Shawn Pearce, 2006/09/13