[CTWM]

monotone crash course

First time actions

Initialise database

  mtn --db=YOUR_DATABASE_DIRECTORY/ctwm.mtn \
	db init

Pull the repository

  mtn  --db=YOUR_DATABASE_DIRECTORYI/ctwm.mtn \
	pull guardian.lp.se free.lp.se:X.ctwm

Check out the source

  mtn --db=YOUR_DATABASE_DIRECTORY/ctwm.mtn --branch=free.lp.se:X.ctwm \
	co CTWM_WORK_DIRECTORY

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.

  mtn --db=YOUR_DATABASE_DIRECTORY/ctwm.mtn \
	genkey your.mail@address.com
  mtn --db=YOUR_DATABASE_DIRECTORY/ctwm.mtn \
	pubkey your.mail@address.com > public_your.mail@address.com

Every day actions

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 mtn ull), so further updates are done like this:

  mtn pull
  mtn update

Every day actions with write access

When you have write access, these are practical operations.

Add a file

  mtn add FILE

Drop (delete) a file

  monodone drop FILE

Rename a file

  mtn rename -e OLDFILE NEWFILE

Check the status of currently known files

This variant only shows which files have changed, been added, deleted or renamed. This differs from cvs status, which shows the status of unknown files.

  mtn status

Check the status of all file in the directory

  mtn automate inventory

Commit all your changes

  mtn commit [--message="message"]

Commit only selected files

  mtn commit [--message="message"] FILE1 FILE2 ...

Send your changes to the server you pulled from

  mtn push

Valid XHTML 1.0!

Check it again, I dare you :-)