Saturday, 20 June 2009

Getting pidgin source code / Monotone

Getting pidgin source code and using Monotone:


NOTES:
-------------

$ DATABASE=/home/user/monotone_databases/pidgin.mtn
$ WORKINGDIR=/home/user/code/pidgin-mtn

# Download the bootstrap database. For example:
$ cd $(dirname $DATABASE)
$ wget http://developer.pidgin.im/static/pidgin.mtn.bz2
$ bzip2 -d pidgin.mtn.bz2

$ mtn -d $DATABASE pull --set-default mtn.pidgin.im "im.pidgin.*"
$ mtn -d $DATABASE co -b im.pidgin.pidgin $WORKINGDIR





update" the scheme used by the Pidgin MTN database. Do:
mtn -d $DATABASE db migrate






simply go to $WORKINGDIR:
and execute mtn pull, or execute mtn -d $DATABASE pull from anywhere.
Note that this will pull the new revision history from the server, but will not update your working directory to reflect the newest available revision. For this, you need to run:
mtn up in $WORKINGDIR.

No comments:

Post a Comment