These are already available on the kernel.org mirrors.
http://ftp.??.kernel.org/pub/linux/kernel/people/dwmw2/bk-2.5/
http://ftp.??.kernel.org/pub/linux/kernel/people/
The individual patches look sane - I'm not entirely sure about the 'Full
patch' version, which seems to contain stuff not in the individual patches.
<MODE REPLY-TO=!linux-kernel>
Larry, any idea why? Script below...
</MODE>
#!/bin/sh
#
# $Id: bkexport.sh,v 1.10 2002/04/23 00:13:24 dwmw2 Exp $
BKDIR="$1"
PATCHDIR="$2"
CACHEDIR="$3"
if [ "$BKDIR" = "" -o "$PATCHDIR" = "" -o "$CACHEDIR" = "" ] ; then
echo "Usage: $o <bkdir> <patchdir> <cachedir>"
exit 1
fi
cd $PATCHDIR || exit 1
cd $CACHEDIR || exit 1
cd $BKDIR || exit 1
TAGCSET=`bk changes -t -d:I:\\\n | head -1`
TAG=`bk changes -r$TAGCSET -d:TAG:`
CSETS=`bk changes -d":I: " -r$TAGCSET,.`
NEWESTCSET=`echo $CSETS | cut -f1 -d\ `
if [ -r $PATCHDIR/cset-$TAGCSET-to-$NEWESTCSET.txt ]; then
# We already ran with this set of changesets. Don't bother to rebuild.
exit 0
fi
bk export -tpatch -r$TAGCSET,$NEWESTCSET > $PATCHDIR/cset-$TAGCSET-to-$NEWESTCSET.txt
cat > $CACHEDIR/newindex.$$.html <<EOF
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
:HTML_C:
\n' > $CACHEDIR/cset-index-$CSET.html bk changes -r$CSET -d:KEY: > $CACHEDIR/cset-key-$CSET fi cat $CACHEDIR/cset-index-$CSET.html >> $CACHEDIR/newindex.$$.html done if [ "$CSETS" = "" ] ; then echo "
# Clean up old patches.
cd $PATCHDIR
for FILE in *.txt ; do
case $FILE in
cset-$TAGCSET-to-$NEWESTCSET.txt)
continue
;;
cset-*.txt)
FILECSET=`echo $FILE | sed "s/^cset-\(.*\).txt\$/\\1/"`
if ! echo $CSETS | grep -q -- $FILECSET ; then
rm "$FILE"
fi
continue
;;
esac
done
cd $CACHEDIR
for FILE in *.html ; do
case $FILE in
index.html)
continue
;;
cset-index-*.html)
FILECSET=`echo $FILE | sed "s/^cset-index-\(.*\).html\$/\\1/"`
if ! echo $CSETS | grep -q -- $FILECSET ; then
rm "$FILE"
fi
continue
;;
esac
done
-- dwmw2
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/