[cvsnt] Re: Easiest/best way to make a branch the trunk (no merging)
Glen Starrett
grstarrett at cox.net
Thu Jul 1 21:08:10 BST 2004
Chris Morris wrote:
> Scenario: bulk of the team on a branch, one member on the trunk, now we
> want to abandon what's been done on the trunk and when we're done with
> the branch make the branch the trunk.
You could:
--export the branch to another directory
--co the trunk
--copy the exported branch files on top of the trunk
--add any new files
--rm any removed ones
--ci and now the trunk is identical to the branch.
>
> Or this: we simply want to rollback everything on the trunk to the point
> in time we made the branch.
To do this:
--from the trunk, up -j <branchpoint> (I'm not sure how to identify
the branchpoint! Maybe you have a tag at that point? Know the date?)
--commit
--up -j <branch>
--commit
Now you're up to date with the branch.
--
Glen Starrett
More information about the cvsnt
mailing list