aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/feeds
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-05-24 09:30:24 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-05-24 09:30:24 +0000
commita02ba6ccc2fab27905ec74da719f7a298fedf8d7 (patch)
treef39e84e1495b2f0d06e8bed049b0339f943066e5 /scripts/feeds
parent9b8a5e604a39b6540c009bc94ca7510b71471f35 (diff)
downloadupstream-a02ba6ccc2fab27905ec74da719f7a298fedf8d7.tar.gz
upstream-a02ba6ccc2fab27905ec74da719f7a298fedf8d7.tar.bz2
upstream-a02ba6ccc2fab27905ec74da719f7a298fedf8d7.zip
Add support for git-svn package feeds Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
SVN-Revision: 26988
Diffstat (limited to 'scripts/feeds')
-rwxr-xr-xscripts/feeds5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/feeds b/scripts/feeds
index 9f773df9ed..6121a6265f 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,