[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-ia64-devel] Sparse tree merge-up script
Okay, one more automation patch. The upstream kernel tree doesn't have tags for 2.6.16.13, etc. This automatically calls ketchup to add the tag in that case. Signed-off-by: Aron Griffis <aron@xxxxxx> --- sparse-merge.agriffis 2006-05-16 14:26:53.000000000 -0400 +++ sparse-merge 2006-05-16 14:22:14.000000000 -0400 @@ -23,7 +23,17 @@ # Save current revision to restore when done cd $LINUXPATH OLDCSET=$(hg parents | awk '/^changeset:/{print($2)}' | cut -f 1 -d :) -hg up -C $OLDTAG +for t in $OLDTAG $NEWTAG; do + if ! hg tags | cut -f1 -d' ' | grep -Fx $t; then + echo "Tag $t not found, ketching up" + hg up -C ${t%.*} || exit 1 + ketchup ${t#v} || exit 1 + hg addremove + hg ci -m $t + hg tag -l $t + fi +done +hg up -C $OLDTAG || exit 1 cd $WD for i in $(hg manifest | awk '{print($3)}' | grep $SPARSEDIR | grep ia64); do cd $WD _______________________________________________ Xen-ia64-devel mailing list Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-ia64-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |