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