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 
    

Checking in changes
Checking in files and creating a changeset can be done via the command line or with bk citool, the graphical check-in tool. We recommend using bk citool because it shows the changes made to each file which improves the quality of the comments. Steps for the graphical tool are shown first followed by steps for another file edit and the command-line check-in.

Using bk citool:

bk citool

Add comments about the changes in the middle window.
Click on the icon next to foo.c to add this file to the repository.
Click on ChangeSet.
Add comments about the ChangeSet in the middle window.
Click on the Commit box at the right.
Click on the Commit box again to confirm you are done.

You have now checked in your changes, added the new file foo.c, and grouped these changes into a changeset. Next you will check in changes using the command line:

echo foo > bar.c
bk new bar.c
bk edit foo.c
echo "This is file foo.c" >> foo.c
bk ci -y"These are the checkin comments" foo.c
bk commit -y"These are the changeset comments"

To see the changes you've just made:

bk revtool

Double-click on the box containing "your_login 1.125".
In the bottom window, click on the line under "e2fsck/recovery.c".

The history of the recovery.c file is shown in another bk revtool window. You can use bk revtool on files in the same way you can use it on a repository.

Click Quit in all BitKeeper windows.


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

© 1997-2007, BitMover, Inc.