Subject: CVS commit: pkgsrc/devel/monotone
From: Julio M. Merino Vidal
Date: 2007-01-02 12:09:57
Message id: 20070102110957.D5708211CA@cvs.netbsd.org

Log Message:
Update to 0.32.  Tested under NetBSD 4.99.7 and Mac OS X Tiger:

	Changes

	- "mtn serve" no longer takes patterns on the command line.
	  Use the permissions hooks instead.

	- the name of the option that denoted the revision from which
	  "mtn log" should start logging was renamed from "--revision"
	  to "--from"

	- author selectors no longer have implicit wildcarding

	- if you manually add entries to MTN/log while you are
	  working, in preparation for an eventual commit, you will now
	  be required to remove a "magic" template line from the file
	  before the commit will succeed. This, like the test for an
	  empty log file, helps to prevent accidents.

	- the "db regenerate_caches" migration command replaces the
	  previous "db regenerate_rosters", generalising the task of
	  rebuilding or generating cached data that may be added
	  across an upgrade.  Like "db migrate", which upgrades the
	  database schema, this command fills in the data for new
	  features. In this release, as well as rosters, it also adds
	  "heights" information used to speed up topology operations.

	Speed improvements

	- "mtn annotate file" and "mtn log file" are generally much
	  faster now, dependant on the number of revisions that
	  changed the file. Both commands as well as "mtn automate
	  toposort" make use of data called "heights" caching the
	  topological order of all revisions.  In order to create and
	  use this data, the following must be run once for each db
	  after upgrading:

               $ mtn -d mydb.mtn db regenerate_caches

	New features

	- "mtn automate content_diff"

	- "mtn automate get_file_of" (same as get_file, but expects
	  a file path and optionally a revision)

	- "mtn import" command

	- "mtn log --to"

	- netsync_note_* hooks are given much more information,
	  inlcuding a http/smtp/etc style status code

	- includedirpattern(dir, fileglob) function for hooks

	Bugs fixed

	- bug in "automate stdio" that would result in monotone
	  garbling its input in some circumstances fixed

	- "mtn annotate file" and "mtn log file" are generally much
	  faster now, dependant on the number of revisions that
	  changed the file. Both commands as well as "mtn automate
	  toposort" make use of data called "heights" caching the
	  topological order of all revisions.

	- spawn_redirected hook function now understands a blank
	  filename to mean not to redirect that stream

	- "mtn log" is now in proper topological order, also due to
	  the use of cached "heights" data

	- reset options between "automate stdio" commands

	- another compile fix for gcc3

	- bug in localization code where option strings where not
	  always properly translated

	Other

	- botan library upgraded to 1.6.0

	- accommodate changes in boost 1.34

	- documentation for "mtn automate get_option"

	- notes/ directory

Files:
RevisionActionfile
1.33modifypkgsrc/devel/monotone/Makefile
1.26modifypkgsrc/devel/monotone/distinfo
1.11removepkgsrc/devel/monotone/patches/patch-aa
1.5removepkgsrc/devel/monotone/patches/patch-ab
1.3removepkgsrc/devel/monotone/patches/patch-ac