class OhlohScm::Bzr::Scm
Public Instance Methods
checkout_files(_names)
click to toggle source
# File lib/ohloh_scm/bzr/scm.rb, line 23 def checkout_files(_names) # Files are already checked out. end
pull(from, callback)
click to toggle source
# File lib/ohloh_scm/bzr/scm.rb, line 6 def pull(from, callback) callback.update(0, 1) if status.exist? run "cd '#{url}' && bzr revert && bzr pull --overwrite '#{from.url}'" else run "rm -rf '#{url}'" run "bzr branch '#{from.url}' '#{url}'" end callback.update(1, 1) end
vcs_path()
click to toggle source
# File lib/ohloh_scm/bzr/scm.rb, line 19 def vcs_path "#{url}/.bzr" end