monotone-devel
[Top][All Lists]
Advanced

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

[Monotone-devel] Re: No read-only automate cert (aka no mtn2cl)


From: Koen Kooi
Subject: [Monotone-devel] Re: No read-only automate cert (aka no mtn2cl)
Date: Fri, 01 Jun 2007 12:00:21 +0200
User-agent: Thunderbird 2.0.0.0 (Macintosh/20070326)

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

Thomas Keller schreef:
> Koen Kooi schrieb:
>> I'm trying to make a ChangeLog or NEWS style overview[1] of the
>> changes in my repo, but I
>> can't find an easy way (trivially parseable by shell scripts) to get
>> the first line(s) of
>> a commit message.
>>
>> The gist of the problem:
>>
>> 'automate cert REVISION-ID NAME VALUE' should be 'automate cert
>> REVISION-ID NAME [VALUE]'
>>
>> Can the above be implemented, or do you have another way to get commit
>> messages?
> 
> Hrm... I'm not sure what your actually problem is - whats wrong with
> 
>  $ mtn automate certs REVID
> 
> ?
> 
> And if you don't like to parse basic_io, you could still use something like
> 
>  $ mtn ls certs REV | grep -A 1 changelog | grep -v changelog | \
>     gawk -F: '{ print $2 }'
> 
> to retrieve the first line of a changelog entry.

Many thanks! The result:
http://www.openembedded.org/repo/org.openembedded.dev/contrib/mtn2cl/mtn2cl.sh

regards,

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

iD8DBQFGX+41MkyGM64RGpERAlWeAJ9juTQTdvidRBhIXiJMqKAk74t5vACeNjtR
d6KQF+A0OgdB/cZ7lCD6jY8=
=Dcpm
-----END PGP SIGNATURE-----





reply via email to

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