From 1dfcebda304fdc3572ac560bf7c72211ac2d98a6 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 7 Jul 2008 15:35:48 +0200 Subject: Ignore warnings from bzr plugins when checking for changes in the tree. --- debian/changelog | 12 +++++++++--- unclean.d/50test | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index eb1664f..9eb84f5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +etckeeper (0.20) UNRELEASED; urgency=low + + * Use new Bazaar API. + * Pass --quiet to bzr add to avoid new files from being printed twice. + * Don't consider warnings from bzr plugins when checking if tree was + modified. + + -- Jelmer Vernooij Mon, 07 Jul 2008 15:34:15 +0200 + etckeeper (0.19) unstable; urgency=low * Patch from Miklos Vajna to fix one more git- command that crept in. @@ -19,9 +28,6 @@ etckeeper (0.17) unstable; urgency=low etckeeper (0.16) unstable; urgency=low - [ Jelmer Vernooij ] - * Use new Bazaar API. - [ Joey Hess] * Add a AVOID_COMMIT_BEFORE_INSTALL option in the config file to make it easy to configure etckeeper to abort an installation if there are diff --git a/unclean.d/50test b/unclean.d/50test index f260f36..9dfefc3 100755 --- a/unclean.d/50test +++ b/unclean.d/50test @@ -6,5 +6,5 @@ if [ "$VCS" = git ]; then elif [ "$VCS" = hg ]; then [ -d .hg ] && ! hg status 2>&1 | wc -l | grep -q "^0$" elif [ "$VCS" = bzr ]; then - [ -d .bzr ] && ! bzr status 2>&1 | wc -l | grep -q "^0$" + [ -d .bzr ] && ! bzr status 2>/dev/null | wc -l | grep -q "^0$" fi -- cgit v1.2.3