blob: b3135447fa9100e02eccae40ad6490dd1173d9c6 (
plain)
1
2
3
4
5
6
7
8
9
|
#!/bin/sh
#
# Emacs-edit the change comment at the revision level specified as $1.
# Only works if you have developer ssh access to the repo.
svn -r $1 log | sed -e "/^-/d" -e "/^r[0-9]/d" -e '1d' -e '$d' >/tmp/hackcomment
emacsclient /tmp/hackcomment
scp /tmp/hackcomment "shell.berlios.de:~"
ssh svn.berlios.de "svnadmin setlog --bypass-hooks /svnroot/repos/gpsd -r $1 ~/hackcomment; rm hackcomment"
|