Skip to content

Commit

Permalink
2007-01-11 Michael McCarty <[email protected]>
Browse files Browse the repository at this point in the history
	* V84

	* Modified checkin2 to use diffstat if it's available and append
	the results to the checkin comment

	* Modified checkin1 and removed the '-c' parameter allowing cvs to
	use defaults from .cvsrc without conflicts
  • Loading branch information
k6mmc committed Jan 12, 2007
1 parent 00657d3 commit 714841a
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 4 deletions.
12 changes: 11 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
2007-01-11 Michael McCarty <[email protected]>

* V84

* Modified checkin2 to use diffstat if it's available and append
the results to the checkin comment

* Modified checkin1 and removed the '-c' parameter allowing cvs to
use defaults from .cvsrc without conflicts

2007-01-12 Michael McCarty <[email protected]>

* V83

* Lots of work on the Mac port, still a work in progress. At least the
Expand All @@ -9,7 +19,7 @@
especially the very confusing PreOut. Renamed it to pPortOutlineRestore and
allocated it dynamically instead of having it tacked onto a buffer.

2007-01-11 Michael McCarty <[email protected]>
2007-01-12 Michael McCarty <[email protected]>

* V82

Expand Down
2 changes: 1 addition & 1 deletion checkin1
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ lasttag=`cvs log -h version.c |
sed 's/://'`

set -x
cvs -z9 diff -c -r$lasttag > diffs
cvs -z9 diff -r$lasttag > diffs
ls -l diffs


Expand Down
11 changes: 10 additions & 1 deletion checkin2
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

mode=cvs


lasttag=`cvs log -h version.c |
sed '1,/symbolic names:/d' |
head -1 |
Expand Down Expand Up @@ -35,9 +36,17 @@ fi
msg=`cat ChangeLog |
sed -n -e "1{h;n}; /^[0-9]/{x;p}; /\<$lasttag\>/Q; /^[0-9]/!H"`

# diffstat output generation
diffstat=`which diffstat 2>&1`
if [ -e "$diffstat" ]
then
sep=$'\x0a\x0a=== diffstat output ===\x0a\x0a'
msgstat=`cvs diff -r $lasttag | $diffstat -w 70`
fi

echo "prev tag $lasttag; new tag $newtag"
echo "====== LOG MESSAGE ====="
echo "$msg"
echo "$msg$sep$msgstat"
echo "========================"

echo -n "Ok? "
Expand Down
2 changes: 1 addition & 1 deletion version.c
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
83
84

0 comments on commit 714841a

Please sign in to comment.