Add support for git-svn package feeds Signed-off-by: Jonathan McCrohan <jmccrohan...
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 24 May 2011 09:30:24 +0000 (09:30 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 24 May 2011 09:30:24 +0000 (09:30 +0000)
SVN-Revision: 26988

scripts/feeds

index 9f773df9ed3fc185436fd76396918d456b814b02..6121a6265f7a7c4b2c1395b592f246f9be1df04f 100755 (executable)
@@ -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,