ruby script/console
svn = SvnRepos::Base.new('http://svn.ruby-lang.org.cn/rgb')
=> #<SvnRepos::Base:0xb7032098 @root_url="http://svn.ruby-lang.org.cn/rgb", @url="http://svn.ruby-lang.org.cn/rgb">
>> svn.entries
=> [#<SvnRepos::Entry:0xb6ff63b8 @path="branches", @lastrev=#<SvnRepos::Revision:0xb6ff6390 @identifier="6", @paths=nil, @author="skyover", @message="", @time=Sat Jul 14 15:17:07 UTC 2007>, @kind="dir", @size=0, @name="branches">, #<SvnRepos::Entry:0xb6feb530 @path="tags", @lastrev=#<SvnRepos::Revision:0xb6feb508 @identifier="2", @paths=nil, @author="skyover", @message="", @time=Fri Jul 13 07:42:28 UTC 2007>, @kind="dir", @size=0, @name="tags">, #<SvnRepos::Entry:0xb6fe06a8 @path="trunk", @lastrev=#<SvnRepos::Revision:0xb6fe0680 @identifier="2", @paths=nil, @author="skyover", @message="", @time=Fri Jul 13 07:42:28 UTC 2007>, @kind="dir", @size=0, @name="trunk">]
>> `svn`
请使用“svn help”以得到用法。
=> ""