Btw, I wrote this script that is scripts/import-series in my tree.
For the utrace series I used:
scripts/import-series ~/redhat/people/utrace/2.6.21 10 linux-2.6-
Thanks,
Roland
---
#!/bin/sh
if [ $# -ne 2 -a $# -ne 3 ]; then
echo >&2 "Usage: $0 QUILT-PATCHES-DIR FIRST-PATCHN [PREFIX]"
exit 1
fi
dir="$1"
first="$2"
prefix="$3"
n=$first
QUILT_PATCHES="$dir" quilt series | {
while read patch; do
cp "$dir/$patch" "$prefix$patch"
echo "Patch$n: $prefix$patch"
n=$[$n + 1]
done
echo
i=$first
while (( i < n )); do
echo "%patch$i -p1"
i=$[$i + 1]
done
}
Show replies by date