summaryrefslogtreecommitdiffstats
path: root/scripts/feeds
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-05-24 09:30:24 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-05-24 09:30:24 +0000
commitda928e0fd64b3b813fc929ca252a3888f8f6493e (patch)
tree7efdcff8a16ce99b1881753d4ca45d89fd6a40fc /scripts/feeds
parentf11fc7ea745a38e24b42d9b51d0adc65aaf60de1 (diff)
[PATCH] Add support for git-svn package feeds
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26988 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 9f773df9e..6121a6265 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,