monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] Re: I don't know if this is a good idea or not


From: Koen Kooi
Subject: [Monotone-devel] Re: I don't know if this is a good idea or not
Date: Tue, 11 Dec 2007 11:39:42 +0100
User-agent: Thunderbird 2.0.0.9 (Macintosh/20071031)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Judson Lester schreef:
> Inspired by the 0.37 mtn_automate and register_command hooks, I've written
> what's become a fairly lengthy lua script, suitable for inclusion from a
> monotonerc that provides rudimentary release management.
> 
> It adds two commands:
> 
> mtn release [version (M.m.s)] [revision] adds an x-revision cert to the
> revision with the version number in it and outputs a changelog
> mtn changelog [file] outputs a basic changelog based on the commit messages
> in the current branch up to and including the last x-release certified
> revision
> 
> The changelog can be trimmed with a changelog_ignore file - patterns in the
> file will be eliminated from the output.
> 
> If nothing else, I've cemented my understanding of how certificates and
> revisions interrelate, and there are a number of useful support functions in
> the file that might be worth pulling out into a utility.lua later.

I get:

Powerbook-2:org.openembedded.dev.avr32 koen$ mtn changelog MAINTAINERS
mtn: warning: _MTN/monotonerc:117: attempt to concatenate field '?' (a
nil value)
mtn: error: Call to user command changelog (lua command:
output_changelog) failed.
Powerbook-2:org.openembedded.dev.avr32 koen$ mtn --version
monotone 0.37 (base revision: c21eefc002b8f9c430e9f4cc16c4af7b852f54ec)

The error is from this portion (line numbers added):

115  changelog_revs = split_string(changelog_revs, "%s*(%S*)%s+")
116  result,changelog_revs = mtn_automate("toposort",
unpack(changelog_revs))
117  changelog_revs2 = release_revs[#release_revs] .. " " ..
changelog_revs .. " "
118  changelog_revs = table.reverse(split_string(changelog_revs2,
"%s*(%S*)%s+"))

any idea what is causing this error?

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFHXmjuMkyGM64RGpERAhydAJ0Ypk9/xHxZwjOH06E/gdYKYXxQaQCgiuqj
egcRPGP847sAgDGX2LXtjlo=
=jhAI
-----END PGP SIGNATURE-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]