From a9727e3e959af427363e1d756d077572390cd345 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 23 Jun 2008 21:27:44 +0200 Subject: oops --- bin/pkg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/pkg') diff --git a/bin/pkg b/bin/pkg index 4219aad..149388a 100755 --- a/bin/pkg +++ b/bin/pkg @@ -134,8 +134,8 @@ vcs_add () { vcs_incoming () { # [ -d .vcs ] && vcs incoming will not work here, since the [] will return # something. We need the return value of vcs. - if ([ -d .hg ]) && hg incoming - if ([ -d .git ]) && false + if ([ -d .hg ]) {hg --quiet incoming; return} + if ([ -d .git ]) {false ; return} } vcs_update () { -- cgit v1.2.3