diff options
author | Michael Koziarski <michael@koziarski.com> | 2008-02-21 22:44:00 +0000 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2008-02-21 22:44:00 +0000 |
commit | 01b77da8da50aa4fec91b690adecab005f365317 (patch) | |
tree | 53fa319e37f9d2bc08396f27331595ef625f8df9 | |
parent | 4c3077183b91e3972b07e5488ce12e5b8a6b68a5 (diff) | |
download | rails-01b77da8da50aa4fec91b690adecab005f365317.tar.gz rails-01b77da8da50aa4fec91b690adecab005f365317.tar.bz2 rails-01b77da8da50aa4fec91b690adecab005f365317.zip |
Patch to add a -e (export) option to script/plugin install. Closes #10847 [jon@blankpad.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8921 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rw-r--r-- | railties/CHANGELOG | 2 | ||||
-rw-r--r-- | railties/lib/commands/plugin.rb | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/railties/CHANGELOG b/railties/CHANGELOG index 1e1f328837..f2bd7d6930 100644 --- a/railties/CHANGELOG +++ b/railties/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* add a -e/--export to script/plugin install, uses svn export. #10847 [jon@blankpad.net)] + * Add config.time_zone for configuring the default Time.zone value. #10982 [Geoff Buesing] * Reshuffle load order so that routes and observers are initialized after plugins and app initializers. Closes #10980 [rick] diff --git a/railties/lib/commands/plugin.rb b/railties/lib/commands/plugin.rb index a26f747dfb..a6303e36db 100644 --- a/railties/lib/commands/plugin.rb +++ b/railties/lib/commands/plugin.rb @@ -725,6 +725,9 @@ module Commands o.on( "-o", "--checkout", "Use svn checkout to grab the plugin.", "Enables updating but does not add a svn:externals entry.") { |v| @method = :checkout } + o.on( "-e", "--export", + "Use svn export to grab the plugin.", + "Exports the plugin, allowing you to check it into your local repository. Does not enable updates, or add an svn:externals entry.") { |v| @method = :export } o.on( "-q", "--quiet", "Suppresses the output from installation.", "Ignored if -v is passed (./script/plugin -v install ...)") { |v| @options[:quiet] = true } |