lib/amp/support/support.rb
# Converts the symbol to an integer used for tracking the state
# of files in the dir_state.
Converts the symbol to an integer used for tracking the state
of files in the dir_state.
Converts the symbol to an integer used for tracking the state of files in the dir_state .
def to_hg_int
    case self
    when :normal, :dirty
      110 
    when :untracked
      63 
    when :added
      97 
    when :removed
      114 
    when :merged
      109 
    else
      raise "No known hg value for #{self}"
    end
  end
def to_hg_int case self when :normal , :dirty 110 when :untracked 63 when :added 97 when :removed 114 when :merged 109 else raise "No known hg value for #{self}" end end
Converts the symbol to an integer used for tracking the state
of files in the dir_state.
Converts the symbol to an integer used for tracking the state of files in the dir_state .
# "n".ord # "?".ord # "a".ord # "r".ord # "m".ord