Hi all,

I made my decision a few days ago, and have now moved the whole ctwm
development tree to a monotone database.  Here's a crash course on how
to do things:

#---------------------------------------------------------------------
# Initialise database
monotone --db=YOUR_DATABASE_DIRECTORY/db.ctwm \
        db init

# Pull the repository
monotone  --db=YOUR_DATABASE_DIRECTORY/db.ctwm \
        pull repository.lp.se free.lp.se/X.ctwm

# Check out the source
monotone --db=YOUR_DATABASE_DIRECTORY/db.ctwm --branch=free.lp.se/X.ctwm \
        co CTWM_WORK_DIRECTORY
        

# When standing in the working directory, the database is recorded in
# MT/options, and the database itself contains data about the default
# server and collection to use (this got initialised by the first
# monotone pull), so further updates are done like this
monotone pull
monotone update

#---------------------------------------------------------------------
# If you want write access, you have to create a key pair with your
# email address as identity, then extract the public half and send it
# to me.
monotone --db=YOUR_DATABASE_DIRECTORY/db.ctwm \
        genkey [EMAIL PROTECTED]
monotone --db=YOUR_DATABASE_DIRECTORY/db.ctwm \
        pubkey [EMAIL PROTECTED] > [EMAIL PROTECTED]

#---------------------------------------------------------------------
# When you have write access, these are practical operations.

# Add a file
monotone add FILE

# Drop (delete) a file
monodone drop FILE

# Rename a file
monotone rename OLDFILE NEWFILE && mv OLDFILE NEWFILE

# Check the status of currently known files, the variant that only
# shows which files have changed, been added, deleted or renamed.
monotone status

# Check the status of all file in the directory.
monotone automate inventory

# Commit all your changes
monotone commit [--message="message"]

# Commit only selected files
monotone commit [--message="message"] FILE1 FILE2 ...

# Send your changes to the server you pulled from
monotone push

Cheers,
Richard

-----
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.

-- 
Richard Levitte                         [EMAIL PROTECTED]
                                        http://richard.levitte.org/

"When I became a man I put away childish things, including
 the fear of childishness and the desire to be very grown up."
                                                -- C.S. Lewis

Reply via email to