Method: Bob::SCM::Svn#head
- Defined in:
- lib/bob/scm/svn.rb
#head ⇒ Object
15 16 17 18 |
# File 'lib/bob/scm/svn.rb', line 15 def head `svn info #{uri}`.split("\n").detect { |l| l =~ /^Revision: (\d+)/ } $1.to_s end |
15 16 17 18 |
# File 'lib/bob/scm/svn.rb', line 15 def head `svn info #{uri}`.split("\n").detect { |l| l =~ /^Revision: (\d+)/ } $1.to_s end |