10140N/ACopyright (C) 2000, 2001, 2004, 2016 Internet Systems Consortium, Inc. ("ISC")
10140N/AThis Source Code Form is subject to the terms of the Mozilla Public
10140N/ALicense, v. 2.0. If a copy of the MPL was not distributed with this
10140N/AThe recommended way of accessing the BIND 9 CVS repository is by ssh
14020N/AHere's how the 9.0 release branch was created:
10140N/A cvs rtag -b -r v9_0_base v9_0 bind9
10140N/ARenaming files by respository copy
10140N/AWhen you need to rename or move a file that is under CVS control, use
17777N/Athe "repository copy" method as described in the following text
15204N/Aborrowed from an ancient CVS FAQ:
15204N/A CVS does not offer a way to rename a file in a way that CVS can
10140N/A track later. See Section 4B for more information.
10140N/A Here is the best way to get the effect of renaming, while
10140N/A 1. Copy the RCS (",v") file directly in the Repository.
10140N/A cp $CVSROOT/<odir>/<ofile>,v $CVSROOT/<ndir>/<nfile>,v
10140N/A 2. Remove the old file using CVS.
10140N/A By duplicating the file, you will preserve the change
10140N/A history and the ability to retrieve earlier revisions of the
10140N/A 3. Retrieve <newfile> and remove all the Tags from it.
18713N/A By stripping off all the old Tags, the "checkout -r" and
18713N/A "update -r" commands won't retrieve revisions Tagged before
10140N/A cvs log <nfile> # Save the list of Tags
10140N/A This technique can be used to rename files within one directory or
10140N/A across different directories. You can apply this idea to
10140N/A directories too, as long as you apply the above to each file and
10140N/A don't delete the old directory.
10140N/A Of course, you have to change the build system (
e.g. Makefile) in
10140N/A your <working-dir> to know about the name change.
10140N/APulling up a newly added file to a release branch:
10140N/AIn a mainline working tree, do something like this:
10140N/A cvs tag -b -r v9_0_base v9_0 file
10140N/AImporting contrib source from vendor release
10140N/AAs an example, here's how queryperf was imported:
10140N/A$Id: cvs-usage,v 1.8 2004/03/05 05:04:50 marka Exp $