[httpd] add comment to allow easy reuse.
jorton
jorton at fedoraproject.org
Thu May 31 13:30:53 UTC 2012
commit 5dd35341376b1ab6cd48731128faf0602f7bb498
Author: Joe Orton <jorton at redhat.com>
Date: Thu May 31 14:28:46 2012 +0100
add comment to allow easy reuse.
pullrev.sh | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/pullrev.sh b/pullrev.sh
index 14477ad..30c93e6 100755
--- a/pullrev.sh
+++ b/pullrev.sh
@@ -14,9 +14,10 @@ vcurl="http://svn.apache.org/viewvc?view=revision&revision="
if test -f ${fn}; then
mv -v -f ${fn} ${fn}\~
- sed '/^--- /,$d' < ${fn}\~ > ${fn}
+ echo "# $0 $*" > ${fn}
+ sed '1{/#.*pullrev/d;};/^--- /,$d' < ${fn}\~ >> ${fn}
else
- echo > ${fn}
+ echo "# $0 $*" > ${fn}
fi
new=0
More information about the scm-commits
mailing list