HOWTO-setup(7.3ce)          BitKeeper User's Manual         HOWTO-setup(7.3ce)

NAME
       bk Howto-setup - howto: setting up a BitKeeper repository

DESCRIPTION
       Here  are  examples on how to setup the initial repository, import from
       plain files, a CVS repository, and/or an RCS repository.

       In order to do an import, the destination repository  needs  to  exist.
       bk setuptool is used when creating the first instance of a repository.

           # Setup initial repository
           cd ~/projects
           bk setuptool test_package

           # Import of plain files from a tar archive.
           # In order to do an import, the destination
           # repository needs to exist.  Notice that we put the
           # package in subdirectory, this is useful.
           mkdir /tmp/gcc
           cd /tmp/gcc
           tar zxf /tmp/gcc-2.95.2.tgz
           bk import -tplain /tmp/gcc ~/projects/test_package

           # Import of a CVS tree which resides in /tmp/mycvsproject.
           bk import -tCVS /tmp/mycvsproject ~/projects/test_package

           # Import of a RCS tree which resides in /tmp/myrcsproject.
           bk import -tRCS /tmp/myrcsproject ~/projects/test_package

SEE ALSO
       bk Howto

CATEGORY
       Overview

BitKeeper Inc                         1E1                   HOWTO-setup(7.3ce)