From: gobo72@gmail.com Date: Mon, 24 Oct 2011 15:23:47 +0000 (+0000) Subject: Mise à jour utilitaires car Subversion 1.7 n'a plus de répertoire .svn dans chaque... X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=a27c0df5aa1b8fc249cc2b83e6ff16101380db95;p=hvlinux.git Mise à jour utilitaires car Subversion 1.7 n'a plus de répertoire .svn dans chaque sous-répertoire. --- diff --git a/stage2/hv-utilities/vd b/stage2/hv-utilities/vd index 6d7cb5a..07aa62f 100755 --- a/stage2/hv-utilities/vd +++ b/stage2/hv-utilities/vd @@ -13,7 +13,7 @@ fi if git diff 1> /dev/null 2>&1; then git diff "$@" -elif [ -d .svn ]; then +elif svn diff 1> /dev/null 2>&1; then svn diff --diff-cmd colordiff -x "-u -w -p" "$@" | less -RFX else echo "Not a GIT or Subversion repository" diff --git a/stage2/hv-utilities/vs b/stage2/hv-utilities/vs index e34a780..e3eafe4 100755 --- a/stage2/hv-utilities/vs +++ b/stage2/hv-utilities/vs @@ -13,7 +13,7 @@ fi if git diff 1> /dev/null 2>&1; then git status "$@" -elif [ -d .svn ]; then +elif svn diff 1> /dev/null 2>&1; then svn status "$@" else echo "Not a GIT or Subversion repository"