Changeset - r113:2741b4902d42
[Not reviewed]
master
0 1 0
bjarni - 20 years ago 2004-08-22 19:40:50
bjarni@openttd.org
(svn r114) updated svnup.sh to display merged files (blathijs)
1 file changed with 6 insertions and 1 deletions:
0 comments (0 inline, 0 general)
svnup.sh
Show inline comments
 
@@ -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
0 comments (0 inline, 0 general)