importing only some branches from CVS.
Steve Borho
steve at borho.org
Fri Apr 10 08:18:47 CDT 2009
On Fri, Apr 10, 2009 at 8:13 AM, Mark Hammond <skippy.hammond at gmail.com> wrote:
> Hi all,
> I'm experimenting with importing a CVS branch into mercurial and some
> of the branches in the tree are so old they offer no value, so I'd like
> to exclude them from the conversion.
>
> cvsps does offer a '-b' option (the docs imply it only allows a single
> branch to be specified, but I haven't experimented with specifying that
> option multiple times) while the builtin cvsps doesn't seem to offer
> even that. Is there a pattern I should follow for the conversion to
> only import the branches I'm interested in? eg, maybe I need to import
> all branches, then perform some other process on the converted tree to
> export only the branches I care about?
This last idea is certainly an option, you can convert hg -> hg with an exclude
file map pretty efficiently.
--
Steve Borho
More information about the Mercurial
mailing list