| author | orudge |
| Sun, 22 Aug 2004 15:31:23 +0000 | |
| changeset 109 | 96a76a02e425 |
| parent 0 | 29654efe3188 |
| child 113 | cc110ea79126 |
| permissions | -rw-r--r-- |
| 0 | 1 |
#!/bin/bash |
2 |
# This script updates the svn source and displays log changes |
|
3 |
# This is only useful for users of CLI based SVN clients |
|
4 |
# Written by Bjarni |
|
5 |
||
6 |
||
7 |
# reads what version you have now |
|
8 |
Base=`svn info | grep "Revision" | xargs -n 1 | tail -n 1` |
|
9 |
||
10 |
# updates the source |
|
11 |
svn update |
|
12 |
||
13 |
# if the revision number changed |
|
14 |
if [ "$Base" -ne "`svn info | grep "Revision" | xargs -n 1 | tail -n 1`" ]; then |
|
15 |
# displays the log changes |
|
16 |
svn log -r HEAD:$(($Base + 1)) |
|
17 |
fi |