sm-zombiereloaded-3/diffgen.sh

19 lines
348 B
Bash
Raw Normal View History

2010-04-03 17:04:48 +02:00
#!/bin/sh
PATCHLIST=patchlist.conf
DEST=docs/changes/
BASEREV="none"
mkdir -p $DEST
for TARGETREV in $(cat $PATCHLIST); do
if [ $BASEREV = "none" ]
then
BASEREV=$TARGETREV
else
hg diff -r $BASEREV -r $TARGETREV cstrike/cfg/* cstrike/addons/sourcemod/* > $DEST/r$TARGETREV.diff
BASEREV=$TARGETREV
fi
done