Remove version control scripts, now replaced by aliases
[hvutilities.git] / scripts / vl
diff --git a/scripts/vl b/scripts/vl
deleted file mode 100755 (executable)
index a680742..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/bash
-
-VCS_SUPPORTED="GIT, Subversion or Mercurial"
-
-GIT_LOG_BASE_OPTS="--oneline"
-HG_LOG_BASE_OPTS="--follow"
-
-print_usage()
-{
-    echo "$(basename $0) -- log for version control (${VCS_SUPPORTED})."
-    echo "Usage: $(basename $0) [OPTIONS...]"
-}
-
-if [ "x${1}" = "x--help" ]; then
-    print_usage
-    exit 1
-fi
-
-SVN_LOG_REV_INFO_COLOR=$(echo -e '\033[1;31m')  # Red
-SVN_LOG_SEPARATION_COLOR=$(echo -e '\033[1;32m')    # Green
-NORMAL=$(echo -e '\033[0m')
-
-if git diff 1> /dev/null 2>&1; then
-    git log ${GIT_LOG_BASE_OPTS} "$@"
-elif svn diff 1> /dev/null 2>&1; then
-    # Colore les lignes --------- en vert
-    # Colore en rouge les infos de la rĂ©vision
-    svn log "$@" | sed -e "s/^-\+$/${SVN_LOG_SEPARATION_COLOR}\0${NORMAL}/" \
-        -e "s/^r[0-9]\+.\+$/${SVN_LOG_REV_INFO_COLOR}\0${NORMAL}/" | less -RFX
-elif hg status 1> /dev/null 2>&1; then
-    hg glog ${HG_LOG_BASE_OPTS} "$@"
-else
-    echo "Not a ${VCS_SUPPORTED} repository"
-    exit 1
-fi