File indexing completed on 2024-12-01 08:16:56
0001 #!/bin/sh 0002 # 0003 # Written by Thiago Macieira <thiago@kde.org> 0004 # This file is in the public domain. 0005 # 0006 # Shows the changes to the subversion repository since the local copy 0007 # was last updated. 0008 # 0009 0010 showdiff=false 0011 showlog=true 0012 0013 while test $# -ge 1; do 0014 case "$1" in 0015 -d) 0016 showdiff=true 0017 shift 0018 ;; 0019 0020 -D) 0021 showdiff=false 0022 shift 0023 ;; 0024 0025 -l) 0026 showlog=true 0027 shift 0028 ;; 0029 0030 -L) 0031 showlog=false 0032 shift 0033 ;; 0034 0035 -h) 0036 cat <<EOF 0037 svnchangesince - Shows the changes to the SVN repository since the last update 0038 Usage: 0039 svnchangesince [-d|-D] [-l|-L] [-h] [filenames] 0040 0041 where: 0042 -d include diffs in output 0043 -D don't include diffs in output [default] 0044 -l include logs in output [default] 0045 -L don't include logs in output 0046 -h show this help string 0047 EOF 0048 exit 0 0049 ;; 0050 0051 *) 0052 break 0053 ;; 0054 esac 0055 done 0056 0057 if $showlog; then 0058 svn log -v -r HEAD:BASE "$@" 0059 fi 0060 0061 if $showdiff; then 0062 svn diff -r BASE:HEAD "$@" 0063 fi