From effab1a1291300018e8320b5a8c291c0ccb61cf4 Mon Sep 17 00:00:00 2001 From: Frank Lanitz Date: Fri, 9 Mar 2012 14:29:02 +0100 Subject: [PATCH] Remove svn specific scripts as the are not needed anymore --- scripts/svn-add.sh | 8 ------ scripts/svn-changes.sh | 60 ------------------------------------------ 2 files changed, 68 deletions(-) delete mode 100755 scripts/svn-add.sh delete mode 100755 scripts/svn-changes.sh diff --git a/scripts/svn-add.sh b/scripts/svn-add.sh deleted file mode 100755 index 009c7995..00000000 --- a/scripts/svn-add.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -FILES=$* -if [ -n "$FILES" ]; then - svn add $FILES - svn propset svn:keywords 'Author Date Id Revision' $FILES - svn propset svn:eol-style native $FILES -fi -echo '>>> Remember to update Makefile.am, makefile.win32, wscript, po/POTFILES.in, geany.nsi (if necessary) <<<' diff --git a/scripts/svn-changes.sh b/scripts/svn-changes.sh deleted file mode 100755 index 0c7aa017..00000000 --- a/scripts/svn-changes.sh +++ /dev/null @@ -1,60 +0,0 @@ -#!/bin/sh -# Copyright: 2008, Nick Treleaven -# License: GNU GPL V2 or later -# Warranty: NONE - -# Displays a summary of Subversion working copy changes in ChangeLog -# format, plus warnings about any unknown files. - -# -s for spaces instead of comma separation -if [ "$1" = -s ]; then - SPACES="set" - shift -fi - -# -q to not print warnings -if [ "$1" = -q ]; then - QUIET="set" - shift -fi - -status=`svn st $*` - -# get list of files changed. -# remove extraneous text, e.g. ? entries -files=`echo "$status" |egrep '^[A-Z]'` -# get filenames on one line -files=`echo "$files" |egrep -o '[^A-Z].[ ]+(.+)' |xargs` -# remove ChangeLog -files=`echo "$files" |sed "s/ ChangeLog\b//"` -# add commas if -s argument is not given -if [ -z "$SPACES" ]; then - files=`echo "$files" |sed "s/ /, /g"` -fi - -# show modifications -if [ -n "$files" ]; then - echo 'Changes:' - if [ -z $SPACES ]; then - files="${files}:" - fi - # indent and wrap - OUTFILE=/tmp/fmt - echo -n ' '$files | fmt -w 72 >$OUTFILE - # put ' * ' for first line - cat $OUTFILE | sed '1s/ / * /' -else - echo 'No changes.' -fi - -# warn about anything that isn't a modification or addition -if [ -n "$QUIET" ]; then - exit -fi -warn=`echo "$status" |egrep '^[^MA]'` -if [ -n "$warn" ]; then - echo 'Warnings:' - echo $warn -else - echo 'No warnings.' -fi