Upgrade yt-dlp from version stable@2023.07.06 to stable@2023.09.24
[sunny256-utils.git] / svedit
blobbf8074335a2d61a36702805837ad15a7c5ab6f63
1 #!/bin/sh
3 #=======================================================================
4 # svedit
5 # File ID: b5af8de8-5d45-11df-9cb0-90e6ba3022ac
6 # Simple shortcut for editing Subversion log messages.
7 #=======================================================================
9 if [ "$1" = "" ]; then
10 cat <<END
12 Syntax: svedit [-k] revnumber [additional svn/svk commands]
14 Options:
17 Use svk instead of svn.
19 END
20 exit 1;
23 if [ "$1" = "-k" ]; then
24 use_svk=1
25 shift
26 else
27 use_svk=0
30 revnum=$1
31 shift
33 if [ "$use_svk" = "1" ]; then
34 svk pe svn:log -r$revnum --revprop "$@"
35 else
36 svn pe svn:log -r$revnum --revprop "$@"
39 # vim: set ts=2 sw=2 sts=2 expandtab :