previous | next
 
home  |  search  |  contact  
 
 
 Introduction 
 BitKeeper Concepts  
 Getting Started  
      - Before You Begin... 
      - Setting Up a Repository 
        . General Setup 
        . Repository Configuration 
      - Populating a BitKeeper Repository 
        . Importing Files 
        . Including and Excluding Files 
        . Adding Individual Files 
      - Working with Repositories 
        . Cloning A Repository 
        . Making Changes 
        . Checking In Changes 
        . Sharing Changes 
        . Backing Out Changes 
 Advanced Operations 
 Advanced Topics 
 Reporting and Data Mining  
 Appendix A: Installation 
 Appendix B: Administration 
 Site Map 
    
Cloning A Repository
If the previous mentioned setup example happened to be a single-developer project, that might be the only repository necessary. The developer would simply work in the master repository. Most projects, however, are multi-developer projects and therefore the master repository would be cloned for each developer on the team. After the first repository is created, subsequent copies of that repository are created using bk clone. It's important that bk clone is used to make copies of the repository, and that bk setup is not run more than once, since bk setup generates a project key, but bk clone copies the existing key, and each project needs one unique instance of the key.

The bk clone command makes a local copy of the master repository, which is also known as the ``parent'' repository. The repositories then have a parent-child relationship, and subsequent BitKeeper operations use the knowledge of this relationship. It is possible to specify a new parent with bk parent to change the location of the effects of a BitKeeper command.


Home    Company    Products    How to Buy    Downloads    Contact Us    Documentation    Support    Site Map

© 1997-2005, BitMover, Inc.