aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--railties/CHANGELOG2
-rw-r--r--railties/lib/commands/plugin.rb3
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 }