projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
From: David Champion <dgc@uchicago.edu>
[apps/madmutt.git]
/
do-commit.sh
diff --git
a/do-commit.sh
b/do-commit.sh
index
795ce32
..
3faaecb
100755
(executable)
--- a/
do-commit.sh
+++ b/
do-commit.sh
@@
-1,3
+1,5
@@
#!/bin/sh
#!/bin/sh
-date "+%Y%m%d" > ./VERSION.date
+svn update
+CURREV=`svn info | grep '^Revision' | cut -d : -f 2`
+echo "`echo $CURREV+1 | bc`" > ./VERSION.svn
svn commit "$@"
svn commit "$@"