def each(cmd_options={}, &block)
      all(cmd_options).each do |branch|
        block.call(branch)
      end
    end
def each(cmd_options={}, &block)
      all(cmd_options).each do |branch|
        block.call(branch)
      end
    end
Run a block for every {Mercurial::Branch Branch} instance of all branches in the repository.

 === Example:
  repository.branches.each {|commit| ... }