From a02ba6ccc2fab27905ec74da719f7a298fedf8d7 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 24 May 2011 09:30:24 +0000 Subject: [PATCH] Add support for git-svn package feeds Signed-off-by: Jonathan McCrohan SVN-Revision: 26988 --- scripts/feeds | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/feeds b/scripts/feeds index 9f773df9ed3..6121a6265f7 100755 --- a/scripts/feeds +++ b/scripts/feeds @@ -117,6 +117,10 @@ my %update_method = ( 'init_branch' => "git clone --depth 1 --branch '%s' '%s' '%s'", 'update' => "git pull", 'controldir' => ".git"}, + 'src-gitsvn' => { + 'init' => "git svn clone -r HEAD '%s' '%s'", + 'update' => "git svn rebase", + 'controldir' => ".git"}, 'src-bzr' => { 'init' => "bzr checkout --lightweight '%s' '%s'", 'update' => "bzr update", @@ -286,6 +290,7 @@ my %install_method = ( 'src-cpy' => \&install_generic, 'src-link' => \&install_generic, 'src-git' => \&install_generic, + 'src-gitsvn' => \&install_generic, 'src-bzr' => \&install_generic, 'src-hg' => \&install_generic, 'src-darcs' => \&install_generic, -- 2.30.2