On Dec 4, 2007, at 14:57, Thufir wrote:
> I'm floundering a bit with subversion. I found the following in
> the rails
> recipe book (oreilly) and am looking for input on the general idea
> below. I'm
> looking for the simplest way to be able to commit changes to
> <http://code.google.com/p/rss-on-rails/> easily, even if it's not
> efficient and
> uses "too much" bandwidth.
So... I'm sorry, what's your question? You've quoted some text which
shows some examples of how to use Subversion, which is great. If you
need more help with how to use Subversion, there's an excellent free
book you can read online at http://svnbook.org/ and if you have
questions about things after reading that, then by all means ask
away. If you're asking specifically how to apply this knowledge to
the Subversion repositories Google Code hosts, maybe you should
consult the Google Code documentation or ask them for assistance.
> An excerpt, almost word for word, from the text:
>
>
>
> /home/svn$ svnadmin create blog
> /home/svn$ ls blog/
>
> conf dav db format hooks locks README.txt
>
>
> /home/svn$ cd ~/projects/blog; ls
> app components config db doc lib log public Rakefile
> README script test vendor
>
> import the entire project:
>
>
> svn import -m "initial import" . \ > file:///home/svn/blog
> Adding test
> Adding test/unit
> Adding test/test_helper.rb
> ...
> Adding public/favicon.ico
>
> Committed revision 1.
>
> ~/projects/blog$
>
> now delete the initial project file
>
> ~projects$ cd ..; rm -rf blog/
>
> ~projects$ svn checkout file://home/svn/blog
> A blog/test
> A blog/test/unitL
> ...
> A blog/public/favicon.ico
> Checked out revision 1.
> ~projects$
>
> ~projects$ cd blog
> ~/projects/blogs$ svn remove log/*
> D log/development.log
> D log/production.log
> D log/server.log
> D log/test.log
>
> ~projects/blog$ svn commit -m 'removed log files'
>
> Deleting log/development.log
> Deleting log/production.log
> Deleting log/server.log
> Deleting log/test.log
>
> Committed revision 2.
>
>
> Next, instruct Subversion to ignore th logfiles that get recreated
> by Rails:
>
> ~/projects/blog$ svn propset svn:ignore "#.log" log/
> property "svn:ignore" set on 'log'
> ~projects/blogs$
>
> Now, update the log directory, and commit the property change:
>
> ~/projects/blog$ svn update log/
> At revision 2.
>
> ~projects/blogs$ svn commit -m 'svn ignore new log/*.log files'
> Sending log
>
> Committed revision 3.
>
> ~projects/blog$
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 5 01:15:36 2007