summaryrefslogtreecommitdiff
path: root/contrib/mtn2cl
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-06-01 10:10:45 +0000
committerKoen Kooi <koen@openembedded.org>2007-06-01 10:10:45 +0000
commit3d228768865edd03be50e1e5fa0c7783843fab0a (patch)
tree9dcda8c6e7e0290ec714d73177030bf66894efcb /contrib/mtn2cl
parentaa29e819902961d1d973883b1d627a0fa3ad596a (diff)
mtn2cl: replace --to with --last
Diffstat (limited to 'contrib/mtn2cl')
-rwxr-xr-xcontrib/mtn2cl/mtn2cl.sh2
1 files changed, 1 insertions, 1 deletions
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 }'`