improve review scripts

This commit is contained in:
zzz
2010-11-28 13:32:01 +00:00
parent dc5c90b779
commit b504f23d03
2 changed files with 18 additions and 10 deletions

View File

@ -2,12 +2,16 @@
# #
# view the changes from the last release to the current head; # view the changes from the last release to the current head;
# files not checked in are not included # files not checked in are not included
# Note that this actually diffs the workspace base (w:) not the head (h:)
# zzz 2008-10 # zzz 2008-10
# #
PREF=0.7. REL=`grep 'public final static String VERSION' core/java/src/net/i2p/CoreVersion.java | cut -d '"' -f2`
LAST=7 if [ -z "$REL" ]
REL=$PREF$LAST then
echo "Cannot find current version"
exit 1
fi
echo "Diffing from $REL" echo "Diffing from $REL"
mtn diff -r t:i2p-$REL -r h: > 7$LAST.diff mtn diff -r t:i2p-$REL -r w: > $REL.diff
$EDITOR 7$LAST.diff $EDITOR $REL.diff

View File

@ -2,11 +2,15 @@
# view the changes from the last release to the current head; # view the changes from the last release to the current head;
# files not checked in are not included # files not checked in are not included
# Skip .po files and geoip.txt # Skip .po files and geoip.txt
# Note that this actually diffs the workspace base (w:) not the head (h:)
# zzz 2010-03 # zzz 2010-03
# #
PREF=0.7. REL=`grep 'public final static String VERSION' core/java/src/net/i2p/CoreVersion.java | cut -d '"' -f2`
LAST=11 if [ -z "$REL" ]
REL=$PREF$LAST then
echo "Cannot find current version"
exit 1
fi
MOREEXCLUDE="installer/resources/geoip.txt" MOREEXCLUDE="installer/resources/geoip.txt"
@ -18,5 +22,5 @@ do
done done
echo "excluding $EXCLUDE" echo "excluding $EXCLUDE"
mtn diff $EXCLUDE -r t:i2p-$REL -r h: > 7$LAST.diff mtn diff $EXCLUDE -r t:i2p-$REL -r w: > $REL.diff
$EDITOR 7$LAST.diff $EDITOR $REL.diff