1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-19 03:51:32 +02:00

[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
This commit is contained in:
jow 2011-05-24 09:30:24 +00:00
parent f11fc7ea74
commit da928e0fd6

View File

@ -117,6 +117,10 @@ my %update_method = (
'init_branch' => "git clone --depth 1 --branch '%s' '%s' '%s'", 'init_branch' => "git clone --depth 1 --branch '%s' '%s' '%s'",
'update' => "git pull", 'update' => "git pull",
'controldir' => ".git"}, 'controldir' => ".git"},
'src-gitsvn' => {
'init' => "git svn clone -r HEAD '%s' '%s'",
'update' => "git svn rebase",
'controldir' => ".git"},
'src-bzr' => { 'src-bzr' => {
'init' => "bzr checkout --lightweight '%s' '%s'", 'init' => "bzr checkout --lightweight '%s' '%s'",
'update' => "bzr update", 'update' => "bzr update",
@ -286,6 +290,7 @@ my %install_method = (
'src-cpy' => \&install_generic, 'src-cpy' => \&install_generic,
'src-link' => \&install_generic, 'src-link' => \&install_generic,
'src-git' => \&install_generic, 'src-git' => \&install_generic,
'src-gitsvn' => \&install_generic,
'src-bzr' => \&install_generic, 'src-bzr' => \&install_generic,
'src-hg' => \&install_generic, 'src-hg' => \&install_generic,
'src-darcs' => \&install_generic, 'src-darcs' => \&install_generic,