class Molinillo::DependencyGraph::Log

def rewind_to(graph, tag)

@macro action
def rewind_to(graph, tag)
  loop do
    action = pop!(graph)
    raise "No tag #{tag.inspect} found" unless action
    break if action.class.name == :tag && action.tag == tag
  end
end