diff options
author | Florian Fainelli <florian@openwrt.org> | 2010-10-24 12:36:51 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2010-10-24 12:36:51 +0000 |
commit | 176fcbe9d8766d8aaec0249da29f62f3998bcabb (patch) | |
tree | 2c57e76cf4cdb220676d462916a83069fd696950 /scripts/feeds | |
parent | 0ae16236fa0ab5356d5e21fae9d75a2d6a3ca4f8 (diff) | |
download | upstream-176fcbe9d8766d8aaec0249da29f62f3998bcabb.tar.gz upstream-176fcbe9d8766d8aaec0249da29f62f3998bcabb.tar.bz2 upstream-176fcbe9d8766d8aaec0249da29f62f3998bcabb.zip |
[feeds] add support for darcs-based feeds
The following patch adds support for darcs-based feeds.
It is tested and works well for my purpose. I wish it
were committed upstream so that I can share my feed with
other users without converting it to svn/git/whatever.
Best regards,
Signed-off-by: Gabriel Kerneis <kerneis@pps.jussieu.fr>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23616 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts/feeds')
-rwxr-xr-x | scripts/feeds | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/feeds b/scripts/feeds index 4c0fe915cf..84f97feeb6 100755 --- a/scripts/feeds +++ b/scripts/feeds @@ -123,7 +123,11 @@ my %update_method = ( 'src-hg' => { 'init' => "hg clone '%s' '%s'", 'update' => "hg pull --update", - 'controldir' => ".hg"} + 'controldir' => ".hg"}, + 'src-darcs' => { + 'init' => "darcs get '%s' '%s'", + 'update' => "darcs pull -a", + 'controldir' => "_darcs"}, ); # src-git: pull broken @@ -278,6 +282,7 @@ my %install_method = ( 'src-git' => \&install_generic, 'src-bzr' => \&install_generic, 'src-hg' => \&install_generic, + 'src-darcs' => \&install_generic, ); my %feed; |