diff options
author | bjarni <bjarni@openttd.org> | 2004-08-22 19:40:50 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2004-08-22 19:40:50 +0000 |
commit | efb7c3863ff07975490988b64943a129b446e57e (patch) | |
tree | 70ec4ff964862797a95a62e50c56a4a0c0ec3f95 /svnup.sh | |
parent | e328e10bb7dc3f3ba9626fd755b8d27b3f25acd9 (diff) | |
download | openttd-efb7c3863ff07975490988b64943a129b446e57e.tar.xz |
(svn r114) updated svnup.sh to display merged files (blathijs)
Diffstat (limited to 'svnup.sh')
-rw-r--r-- | svnup.sh | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -8,10 +8,15 @@ Base=`svn info | grep "Revision" | xargs -n 1 | tail -n 1` # updates the source -svn update +svn update > svn.log +cat svn.log # if the revision number changed if [ "$Base" -ne "`svn info | grep "Revision" | xargs -n 1 | tail -n 1`" ]; then # displays the log changes svn log -r HEAD:$(($Base + 1)) fi + +# displays merged files +cat svn.log|grep "^G" +cat svn.log|grep "^C"
\ No newline at end of file |