view plugins/redmine_checkout/lib/checkout_helper.rb @ 1624:76f8f0814e1e live

Use --check to avoid errors when updating in repos with more than one head
author Chris Cannam
date Fri, 10 Aug 2018 16:08:05 +0100
parents b4b72f1eb644
children
line wrap: on
line source
module CheckoutHelper
  class <<self
    def supported_scm
      Object.const_defined?("REDMINE_SUPPORTED_SCM") ? REDMINE_SUPPORTED_SCM : Redmine::Scm::Base.all
    end
  end
end