source: projects/ckbs/trunk/commit.sh @ 89

Last change on this file since 89 was 89, checked in by bradbell, 11 years ago

This is a template file for making commits to the ckbs repository

Lines containing a colon character are "file name" followed by comment; e.g.,
commit.sh: for this case commit.sh is the only file to be modified.

  • Property svn:executable set to *
File size: 722 bytes
Line 
1#! /bin/bash
2#
3# replacement text for this commit
4cat << EOF > commit.$$
5This is a template file for making commits to the ckbs repository
6
7Lines containing a colon character are "file name" followed by comment; e.g.,
8commit.sh: for this case commit.sh is the only file to be modified.
9EOF
10# -----------------------------------------------------------------------
11dir=`pwd | sed -e 's|.*/ckbs/\([^/]*\).*|\1|'`
12list=`sed -e '/:/! d' -e 's/:.*//' commit.$$`
13msg=`sed -e 's|.*/\([^/]*:\)|[ckbs/$dir] \1|' commit.$$` 
14rm commit.$$
15echo "svn commit \\"
16echo "-m \"$msg\" \\"
17echo "\\"
18echo "$list"
19read -p "is this ok [y/n] ?" response
20if [ "$response" != "y" ]
21then
22        exit 1
23fi
24svn commit -m "$msg" $list
25svn revert commit.sh
Note: See TracBrowser for help on using the repository browser.