lib/caramelize/gollum_output.rb
def commit_revision(page, markup)
      gollum_page = gollum.page(page.title)
      if gollum_page
        gollum.update_page(gollum_page, gollum_page.name, gollum_page.format, page.body, build_commit(page))
      else
        gollum.write_page(page.title, markup, page.body, build_commit(page))
      end
    end
def commit_revision(page, markup)
      gollum_page = gollum.page(page.title)
      if gollum_page
        gollum.update_page(gollum_page, gollum_page.name, gollum_page.format, page.body, build_commit(page))
      else
        gollum.write_page(page.title, markup, page.body, build_commit(page))
      end
    end
Commit the given page into the gollum-wiki-repository.
 Make sure the target markup is correct before calling this method.