From: Koen Kooi Date: Fri, 1 Jun 2007 10:10:45 +0000 (+0000) Subject: mtn2cl: replace --to with --last X-Git-Tag: Release-2010-05/1~8868^2~400^2~106^2~11 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d228768865edd03be50e1e5fa0c7783843fab0a;p=openembedded.git mtn2cl: replace --to with --last --- diff --git a/contrib/mtn2cl/mtn2cl.sh b/contrib/mtn2cl/mtn2cl.sh index 09d6201bd3..578a06145a 100755 --- a/contrib/mtn2cl/mtn2cl.sh +++ b/contrib/mtn2cl/mtn2cl.sh @@ -2,7 +2,7 @@ # This script takes the last 1000 revs and writes a ChangeLog -for i in `mtn log --brief --no-graph --no-merges --to 57d2b2fc5c8e07d46b3aff668037c245742efd52 | awk '{print $2 ":" $1}'` ; do \ +for i in `mtn log --brief --no-graph --no-merges --last 1000 | awk '{print $2 ":" $1}'` ; do \ export REV=`echo $i | awk -F: '{print $2}'` export AUTHOR=`echo $i | awk -F: '{print $1}'` export CL=`mtn ls certs ${REV} | grep -A 1 changelog | grep -v changelog | gawk -F'Value : ' '{ print $2 }'`