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.