projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fa3ed4
)
Don't keep zero-length logs.
author
Chris Hanson
<org/chris-hanson/cph>
Fri, 20 Dec 2002 17:54:24 +0000
(17:54 +0000)
committer
Chris Hanson
<org/chris-hanson/cph>
Fri, 20 Dec 2002 17:54:24 +0000
(17:54 +0000)
etc/update-rcs-log
patch
|
blob
|
history
diff --git
a/etc/update-rcs-log
b/etc/update-rcs-log
index 5d94e93ac568a87c2728c8bda8bb6ce24ec7583b..c6e485f229303f52cf494d715affd0a4f5bfc87f 100755
(executable)
--- a/
etc/update-rcs-log
+++ b/
etc/update-rcs-log
@@
-20,8
+20,11
@@
generate_log_gopts ()
cvs2cl --global-opts "${2}" --revisions --usermap "${UM}" --stdout > "${N}"
if cmp "${N}" "${O}"; then
rm -f "${N}"
- el
se
+ el
if [ -s "${N}" ]; then
mv -f "${N}" "${O}"
+ else
+ echo "Discarding zero-length log."
+ rm -f "${N}"
fi
}