improve review scripts
This commit is contained in:
@ -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
|
||||||
|
@ -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
|
||||||
|
Reference in New Issue
Block a user