Changeset 201 for trunk/bin


Ignore:
Timestamp:
Sep 9, 2006, 7:36:34 PM (15 years ago)
Author:
Peter Johansson
Message:

fixes #76 and refs #87 new output file structure and draft to new main page.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/svndigest.cc

    r198 r201  
    138138  GnuplotFE::instance()->command(std::string("cd '")+option->targetdir()+"'");
    139139  chdir(option->targetdir().c_str());
     140  mkdir(tree.name());
     141  print_css(tree.name()+"/svndigest.css");
     142  print_main_page(tree.name(), commit_dates);
     143  mkdir(tree.name()+"/all");
     144  mkdir(tree.name()+"/all/total");
    140145  try {
    141     tree.print(option->verbose());
     146    tree.print(tree.name()+"/all/total", option->verbose());
    142147  }
    143148  catch (const std::runtime_error& x) {
     
    156161  if (option->verbose())
    157162    std::cout << "Finalizing" << std::endl;
    158   std::string css(file_name(option->root())+"/svndigest.css");
    159   std::ofstream os(css.c_str());
    160   print_css(os);
    161   os.close();
    162163
    163164  delete option;
Note: See TracChangeset for help on using the changeset viewer.