previous | next
 
home  |  sales  |  customers  |  jobs  |  contact  |  search  
 
 Home 
 Products 
 Customers 
 Comparisons 
 Sales 
 Test drive 
      - Installation 
        . Unix 
        . Windows 
        . Mac OSX  
      - Cloning a repository 
        . Cloning a child 
      - Using bk revtool 
        . Repository history 
        . File history 
        . Searching 
        . Viewing a changeset 
      - Updating your repository 
      - Making changes 
        . Checkouts 
        . Modifying a file 
        . Creating a file 
        . Viewing the changes 
        . Checking in changes 
      - Merging changes 
        . Pulling and resolving a conflict 
        . File merge 
        . Checkin 
      - Update the parent 
      - Finis 
 Company 
 Jobs 
 Support 
 Documentation 
 Search 
 Site Map 
    

Checkouts
Before you actually make any changes, it is important to get acquainted with how to check out files in BitKeeper.

Cleaning a directory

cd e2fsck

Notice the directory is populated with files. Now do:

bk clean

Notice that the files are now gone. The SCCS directory is where the revision histories for the files in the directory reside. On Windows the SCCS directory is hidden by default.

Checking out
There are two modes for checked out files in BitKeeper: read-only mode and read/write mode.

To check out (or get) the files in read-only mode do:

bk co

Notice that the directory is now populated.

Now check out the files in read/write mode:

bk edit

Notice that the files are now read/write capable and thus can be modified.

To put the repository back in its original state, do:

bk clean
bk co

Checkout Modes

By default, BitKeeper operates in a "clean" checkout mode such that all files must be explicitly checked out. It can also run in other checkout modes: get mode and edit mode.

The repositories you have cloned for this demo run in checkout:get mode and consequently all files in the repository are checked out in read-only mode. If you run in checkout:edit mode, all files in the repository are checked out and can be modified.


Home    Products    How to Buy    Customers    Downloads    Support    Privacy Policy    Bug DB    Site Map    Contact Us

© 1997-2007, BitMover, Inc.