From: Martin Pitt Date: Thu, 29 Mar 2007 07:47:51 +0000 (+0200) Subject: remove bzrdc, use debcommit now X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=commitdiff_plain;h=c813cb64a364f13a567ecc6d413e8070d6d32ccf remove bzrdc, use debcommit now --- diff --git a/bzrdc b/bzrdc deleted file mode 100755 index 7c189a1..0000000 --- a/bzrdc +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/bash -e -LOG=`bzr diff debian/changelog| sed -rne '/^\+[[:blank:]]{2,}/{s/^\+ //; p}'` - -[ -n "$LOG" ] || { - echo 'no debian/changelog change' - exit 1 -} - -echo -- Log -- -echo "$LOG" -echo --------- - -while read -p "Ok to commit? (Y/n) " -n 1 WHAT; do - case "$WHAT" in - y|Y|"") - break - echo "YES" - ;; - n|N) - echo - echo "Aborting." - exit 0 - ;; - *) - echo " -- unknown response." - ;; - esac -done - -bzr commit -m "$LOG" "$@"