Mercurial > geeqie
comparison gen_changelog.sh @ 1290:0c918f8b1f51
Update ChangeLog using C locale date format, add a script to ease future updates.
author | zas_ |
---|---|
date | Mon, 09 Feb 2009 09:02:04 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1289:deb0876c29d2 | 1290:0c918f8b1f51 |
---|---|
1 #!/bin/bash | |
2 | |
3 # Script to update ChangeLog file, | |
4 # it keeps "pre-svn" history and insert svn log at top, | |
5 # it uses C locale for date format. | |
6 # It has to be run where ChangeLog is. | |
7 # Old ChangeLog is saved as ChangeLog.bak | |
8 | |
9 [ ! -e "ChangeLog" ] && exit 1 | |
10 | |
11 tail -6614 ChangeLog > ChangeLog.$$.old && \ | |
12 LC_ALL=C svn log -rHEAD:220 > ChangeLog.$$.new && \ | |
13 cat ChangeLog.$$.old >> ChangeLog.$$.new && \ | |
14 mv -f ChangeLog ChangeLog.bak && \ | |
15 mv -f ChangeLog.$$.new ChangeLog | |
16 | |
17 rm -f ChangeLog.$$.old | |
18 exit 0 |