##// END OF EJS Templates
scm: mercurial: add new "nodes_in_branch()" method in adapter (#7246, #4455)....
scm: mercurial: add new "nodes_in_branch()" method in adapter (#7246, #4455). For latest changesets supporting named branch. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5102 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r2816:35333367dff6
r4982:b914a3648ace
Show More
issue_status_exemplar.rb
9 lines | 182 B | text/x-ruby | RubyLexer
/ test / exemplars / issue_status_exemplar.rb
class IssueStatus < ActiveRecord::Base
generator_for :name, :method => :next_name
def self.next_name
@last_name ||= 'Status 0'
@last_name.succ!
@last_name
end
end