diff options
author | jmmv <jmmv@pkgsrc.org> | 2010-01-18 13:27:51 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2010-01-18 13:27:51 +0000 |
commit | 1c47fb6ba38a0e4458a1f6f29cc162e9fcb6ca7d (patch) | |
tree | 900888fc54b12f0adad3d0ffa4845d5bd7abdd3c /devel | |
parent | fbf842cc3010fce204b38a2ab29c904784b5b9da (diff) | |
download | pkgsrc-1c47fb6ba38a0e4458a1f6f29cc162e9fcb6ca7d.tar.gz |
Update monotone to 0.46. Tested under OS X 10.5 and NetBSD/macppc.
Sun Jan 17 21:40:35 UTC 2010
0.46 release.
Changes
- "automate stdio" (and "automate remote_stdio", see below)
use separate streams to encode out-of-band information like
informational messages, warnings or tickers. A special
"header" section has been added to the standard output to
identify future stdio version changes. The error codes used
in the output of both stdio and remote_stdio, have also
slightly changed: errors which are the result of a wrong
call (unknown command, invalid options, parsing errors, ...)
are returned with code 1, while errors which happened while
the actual command executed are returned with code 2. Error
codes are no longer echoed with every packet, but only as
the payload of the final 'l' ("last") packet.
Please consult the manual section "mtn automate stdio" for a
detailed description of the new format.
- The 'heads' command should be significantly faster now (not
that it was particularly slow before). This probably isn't
terribly noticable unless you're in the habit of using "h:*"
(heads of all branches) as a selector, it's primarily meant
to enable future changes that will depend on fast 'heads'.
The database schema has been changed, so you will need to
run 'mtn db migrate' (preferably after making a backup copy
of your db).
- the 'status' command now includes the current (to be committed)
revision number and will indicate when the branch option in
_MTN/options has been changed and does not match one of the
revision's parent branches.
- Cert labels in the output of the 'log' command are now
localized.
New features
- There's a new command "automate remote_stdio" that makes it
possible to execute automate commands on a remote server
(for example, to permit a single database to be used both
for serving netsync connections and for running a viewmtn
instance). This requires that the server be running monotone
0.46 or later. Access control on the server uses a new lua
hook "get_remote_automate_permitted(identity, command_line,
options)".
- There's also a new command "automate remote" that's very much
the same, but executes only a single command and does not
stdio-encode the output.
- A new 'bisect' command has been added to allow searching for a
specific revision within a range of revisions. This can be useful for
locating the exact revision that broke something or removed a
particular feature.
- Three new commands - 'push', 'pull' and 'sync' - have been added
to the automation interface. They work just as their non-automate
counterparts.
- The global option '--timestamps' has been added which prefixes
the current local timestamp before diagnostic messages such as
warnings, progress messages, errors and tickers. For example,
this option can be used to log the date and time when clients
connect to a monotone server.
Bugs fixed
- A regression from 0.45's key migration prevented the proper
output of the `committer` field in 'git_export'.
- 'db info --full' no longer crashes when executed on a database
with only one revision.
- The mtn_automate Lua function which can be used for custom
commands now properly handles binary data.
- `db info` now returns a correct byte count for certs again.
- If a public key was read in via the `read` or
`automate read_packets`, an invariant was triggered if the
key was already existing in the database. This has been fixed.
- `annotate` no longer crashes if the annotated file is empty.
Other
- Added the script of the Lua-based contributed Monotone
extension command "mtn remote_export" to contrib/command/
with which a remote revision can be exported locally without
having to fetch all of the history before.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/monotone/Makefile | 6 | ||||
-rw-r--r-- | devel/monotone/PLIST | 9 | ||||
-rw-r--r-- | devel/monotone/distinfo | 8 |
3 files changed, 15 insertions, 8 deletions
diff --git a/devel/monotone/Makefile b/devel/monotone/Makefile index e083ff30463..c448c0bae1d 100644 --- a/devel/monotone/Makefile +++ b/devel/monotone/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.59 2009/09/23 16:05:06 jmmv Exp $ +# $NetBSD: Makefile,v 1.60 2010/01/18 13:27:51 jmmv Exp $ # -DISTNAME= monotone-0.45 +DISTNAME= monotone-0.46 CATEGORIES= devel scm -MASTER_SITES= http://monotone.ca/downloads/0.45/ +MASTER_SITES= http://monotone.ca/downloads/0.46/ MAINTAINER= jmmv@NetBSD.org HOMEPAGE= http://monotone.ca/ diff --git a/devel/monotone/PLIST b/devel/monotone/PLIST index af8bc2a07aa..5bb9781eeef 100644 --- a/devel/monotone/PLIST +++ b/devel/monotone/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.19 2009/09/23 16:05:06 jmmv Exp $ +@comment $NetBSD: PLIST,v 1.20 2010/01/18 13:27:51 jmmv Exp $ bin/mtn bin/mtnopt info/monotone.info @@ -21,7 +21,13 @@ share/doc/monotone/figures/revision.png share/doc/monotone/figures/statement.png share/doc/monotone/figures/three-versions.png share/doc/monotone/figures/two-branches.png +share/doc/monotone/images/bg.png +share/doc/monotone/images/go-next.png +share/doc/monotone/images/go-previous.png +share/doc/monotone/images/go-up.png +share/doc/monotone/images/toc.png share/doc/monotone/monotone.html +share/doc/monotone/texinfo.css share/locale/de/LC_MESSAGES/monotone.mo share/locale/es/LC_MESSAGES/monotone.mo share/locale/it/LC_MESSAGES/monotone.mo @@ -42,6 +48,7 @@ share/monotone/contrib/command/base.lua share/monotone/contrib/command/conflicts.lua share/monotone/contrib/command/fuse.lua share/monotone/contrib/command/init.lua +share/monotone/contrib/command/remote_export.lua share/monotone/contrib/command/revision.lua share/monotone/contrib/display_branches.lua share/monotone/contrib/dtrace2calltree.py diff --git a/devel/monotone/distinfo b/devel/monotone/distinfo index a9ef9d14d99..9f691a83b29 100644 --- a/devel/monotone/distinfo +++ b/devel/monotone/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.41 2009/09/23 16:05:06 jmmv Exp $ +$NetBSD: distinfo,v 1.42 2010/01/18 13:27:51 jmmv Exp $ -SHA1 (monotone-0.45.tar.gz) = 84bd7ab5f7b1bfe98028f5105e3dbcd82c809e51 -RMD160 (monotone-0.45.tar.gz) = d225595ba908d2d9366ffc3490caba83aa9ad9bb -Size (monotone-0.45.tar.gz) = 4645511 bytes +SHA1 (monotone-0.46.tar.gz) = 2b498c30f91b741e45bc34f8cb5faf135e97976d +RMD160 (monotone-0.46.tar.gz) = a8f09fc58d09f2144aef3d5f3a333a5cd4555c7b +Size (monotone-0.46.tar.gz) = 4568806 bytes |