previous | next
 
home  |  search  |  contact  
 
 
 Introduction 
 BitKeeper Concepts  
 Getting Started  
 Advanced Operations 
 Advanced Topics 
      - Repository Structure 
      - File Types 
      - Repository Interactions 
      - Deleting a Repository 
      - Name and String Limitations 
 Reporting and Data Mining  
 Appendix A: Installation 
 Appendix B: Administration 
 Site Map 
    
Deleting a Repository
Before deleting a repository, make sure you do not want it anymore.
Please be aware this action is not reversible.
  • Verify whether or not the repository is a master repository
  • Make sure there are no pending changes that should be pushed
  • Delete the repository

A repository is a master repository if it has no parent. To check:

cd repository
bk parent

If this is a master repository, the message

This package has no parent

will be displayed. If you do not know whether a repository is a master repository or not, please consult the person in charge.

To find pending changes or modified files:

bk status

Review the output. If there are any:

  • files not under revision control
  • files modified
  • files with uncommitted deltas

you should verify you will never need that work. If there's any chance the work may be needed, make sure it's in a safe repository somewhere before deleting this copy of the repository.

Deleting a repository in bk is just like removing any other directory:

rm -rf path_to_repository

If the repository that is being deleted has children, be sure to reset those repositories' parents:

cd child_repo
bk parent
/new_parent/path


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

© 1997-2005, BitMover, Inc.