Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Some handy svn commands for Rails
Branch: master

tagging updated

latest commit 78c05f7901
Iain Hecker authored
Failed to load latest commit information.
database-files
tasks
README.textile
Rakefile

README.textile

RakeSvn

Some handy rake tasks for subversion.

rake svn:add # Add all new files to repository rake svn:rm # Deletes all missing files from the repository rake svn:both # Perfom both add and rm rake svn:ignore # Adds an ignore. Use DIR=‘x’ and IGNORE=‘foo;bar’ rake svn:init_rails # Configure Subversion for Rails rake svn:repository # Gets the current svn repository url. rake svn:tag # Tag current trunk. rake svn:tag:delete # Delete a tag. rake svn:tag:list # List all tags. rake svn:tag:replace # Delete a tag and tag current trunk.

Example

Example output of rake svn:init_rails

At revision 2. D log/development.log D log/production.log D log/server.log D log/test.log Deleting log/development.log Deleting log/production.log Deleting log/server.log Deleting log/test.log Committed revision 3. At revision 3. property ‘svn:ignore’ set on ‘log’ At revision 3. Sending log Committed revision 4. At revision 4. At revision 4. svn: ‘db/.sqlite’ does not exist At revision 4. property ‘svn:ignore’ set on ‘db’ At revision 4. Sending db Committed revision 5. At revision 5. At revision 5. svn: ‘tmp/cache/*’ does not exist At revision 5. property ‘svn:ignore’ set on ‘tmp/cache’ At revision 5. Sending tmp/cache Committed revision 6. At revision 6. At revision 6. svn: ‘tmp/pids/*’ does not exist At revision 6. property ‘svn:ignore’ set on ‘tmp/pids’ At revision 6. Sending tmp/pids Committed revision 7. At revision 7. At revision 7. svn: ‘tmp/sessions/*’ does not exist At revision 7. property ‘svn:ignore’ set on ‘tmp/sessions’ At revision 7. Sending tmp/sessions Committed revision 8. At revision 8. At revision 8. svn: ‘tmp/sockets/*’ does not exist At revision 8. property ‘svn:ignore’ set on ‘tmp/sockets’ At revision 8. Sending tmp/sockets Committed revision 9. At revision 9. At revision 9. svn: ‘public/stylesheets/*.css’ does not exist At revision 9. property ‘svn:ignore’ set on ‘public/stylesheets’ At revision 9. Sending public/stylesheets Committed revision 10. At revision 10. At revision 10. cp /home/iain/vendor/plugins/rake_svn/tasks/../database-files/database.oracle.yml /home/iain/vendor/plugins/rake_svn/tasks/../database-files/database.postgresql.yml /home/iain/vendor/plugins/rake_svn/tasks/../database-files/database.sqlite3.yml /home/iain/vendor/plugins/rake_svn/tasks/../database-files/database.sqlite2.yml /home/iain/vendor/plugins/rake_svn/tasks/../database-files/database.mysql.yml config/ A config/database.oracle.yml A config/database.postgresql.yml A config/database.sqlite3.yml A config/database.sqlite2.yml A config/database.mysql.yml Adding config/database.mysql.yml Adding config/database.oracle.yml Adding config/database.postgresql.yml Adding config/database.sqlite2.yml Adding config/database.sqlite3.yml Transmitting file data ….. Committed revision 11. At revision 11. D config/database.yml Deleting config/database.yml Committed revision 12. At revision 12. property ‘svn:ignore’ set on ‘config’ At revision 12. Sending config Committed revision 13. At revision 13.

Copyright © 2008 Iain Hecker, released under the MIT license

Something went wrong with that request. Please try again.