From owner-svn-soc-all@FreeBSD.ORG Fri Jun 13 00:40:58 2014 Return-Path: Delivered-To: svn-soc-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 84FC8A16 for ; Fri, 13 Jun 2014 00:40:58 +0000 (UTC) Received: from socsvn.freebsd.org (socsvn.freebsd.org [IPv6:2001:1900:2254:206a::50:2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 722192BCD for ; Fri, 13 Jun 2014 00:40:58 +0000 (UTC) Received: from socsvn.freebsd.org ([127.0.1.124]) by socsvn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5D0ewuL077530 for ; Fri, 13 Jun 2014 00:40:58 GMT (envelope-from op@FreeBSD.org) Received: (from www@localhost) by socsvn.freebsd.org (8.14.8/8.14.8/Submit) id s5D0ew6k077517 for svn-soc-all@FreeBSD.org; Fri, 13 Jun 2014 00:40:58 GMT (envelope-from op@FreeBSD.org) Date: Fri, 13 Jun 2014 00:40:58 GMT Message-Id: <201406130040.s5D0ew6k077517@socsvn.freebsd.org> X-Authentication-Warning: socsvn.freebsd.org: www set sender to op@FreeBSD.org using -f From: op@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r269498 - soc2014/op/tools MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-soc-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the entire Summer of Code repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2014 00:40:58 -0000 Author: op Date: Fri Jun 13 00:40:57 2014 New Revision: 269498 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=269498 Log: added svn-cherry-pick-from-git.csh tool Signed-off-by: Oliver Pinter Added: soc2014/op/tools/svn-cherry-pick-from-git.csh (contents, props changed) Added: soc2014/op/tools/svn-cherry-pick-from-git.csh ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ soc2014/op/tools/svn-cherry-pick-from-git.csh Fri Jun 13 00:40:57 2014 (r269498) @@ -0,0 +1,19 @@ +#!/bin/csh + +set ver=$1 +set td=`mktemp -d` +set opwd=${PWD} +set svndir="/usr/data/source/svn/op/freebsd-base" + +git format-patch -o ${td} ${ver} + +cd ${svndir} + +foreach i ( `ls ${td}` ) + set i=${td}/${i} + less ${i} + patch -p1 < ${i} + svnlite commit +end + +cd ${PWD}