mtn2cl: replace --to with --last
authorKoen Kooi <koen@openembedded.org>
Fri, 1 Jun 2007 10:10:45 +0000 (10:10 +0000)
committerKoen Kooi <koen@openembedded.org>
Fri, 1 Jun 2007 10:10:45 +0000 (10:10 +0000)
contrib/mtn2cl/mtn2cl.sh

index 09d6201..578a061 100755 (executable)
@@ -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 }'`