Added diff generator script.

This commit is contained in:
Richard Helgeby
2010-04-03 17:04:48 +02:00
parent 482100d418
commit 187f3948cb
5 changed files with 32 additions and 2 deletions
Executable
+18
View File
@@ -0,0 +1,18 @@
#!/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