# # # patch "ChangeLog" # from [9e265491c0d089dd68e41227d889ca67882d7f21] # to [d089b155d8ec22c371049f10e1032d4223677a73] # # patch "contrib/ChangeLog.sh" # from [43ef52b9ec1e9b09e26ef0de1f5a4d7b156347ef] # to [4d9ffe6a6251e11f483a5bd54ae8acc618676455] # ============================================================ --- ChangeLog 9e265491c0d089dd68e41227d889ca67882d7f21 +++ ChangeLog d089b155d8ec22c371049f10e1032d4223677a73 @@ -1,5 +1,9 @@ 2006-04-02 Matthew Nicholson + + * contrib/ChangeLog.sh: Updated to reflect monotone name changes. +2006-04-02 Matthew Nicholson + * tests/t_pidfile.at: Added. Test's pid file cleanup. * testsuite.at: Added new t_pidfile.at test. ============================================================ --- contrib/ChangeLog.sh 43ef52b9ec1e9b09e26ef0de1f5a4d7b156347ef +++ contrib/ChangeLog.sh 4d9ffe6a6251e11f483a5bd54ae8acc618676455 @@ -9,6 +9,7 @@ # the -d and -r options are required. NUM=15 +MTN=mtn while ! [ $# -eq 0 ] ; do case "$1" in @@ -19,7 +20,7 @@ shift done -if ! [ -s MT/revision ]; then +if ! [ -s _MTN/revision ]; then if [ "x$REV" = "x" ] || [ "x$DB" = "x" ]; then echo "Both the -d and -r arguments are needed when this" >&2; echo "script is not run from the root of a monotone workspace." >&2; @@ -27,7 +28,7 @@ fi else if [ "x$REV" = "x" ]; then - REV=`cat MT/revision` + REV=`cat _MTN/revision` fi fi @@ -44,14 +45,14 @@ get() { - monotone $DB ls certs "$2" | sed "$1" \ + $MTN $DB ls certs "$2" | sed "$1" \ | sed 's/^[^\:]\+\: //g' } getrevs() { - monotone $DB automate ancestors "$1" \ - | monotone $DB automate toposort address@hidden \ + $MTN $DB automate ancestors "$1" \ + | $MTN $DB automate toposort address@hidden \ | tail -n "$2" | tac } @@ -68,5 +69,5 @@ getlogs | sed "$RD" | sed '/^$/ d' \ | sed 's/^\([[:digit:]]\{4\}.*\)$/\n\1\n/g' else - echo "MT/revision does not exist!" >&2 + echo "_MTN/revision does not exist!" >&2 fi