Changeset 1135
- Timestamp:
- Jul 18, 2010, 8:58:37 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Configuration.cc
r1133 r1135 189 189 mess << "in trac section" << lhs + " is invalid option."; 190 190 throw Config_error(line, mess.str()); 191 } 192 } 193 else if (section == "output") { 194 if (lhs=="blame-information") { 195 if (equal_false(rhs)) 196 output_blame_information_ = false; 197 else if (equal_true(rhs)) 198 output_blame_information_ = true; 199 else { 200 throw Config_error(line, ""); 201 } 191 202 } 192 203 } … … 518 529 << "### The commented-out below are intended to demonstrate how to use\n" 519 530 << "### this file.\n" 520 << "\n" 521 << "### Section for setting behaviour of copyright update\n" 531 << "\n"; 532 533 os << "### Section for setting output\n" 534 << "[output]\n" 535 << "# if true svndigest will output blame information for each file.\n" 536 << "blame-information = "; 537 if (conf.output_blame_information()) 538 os << "yes\n"; 539 else 540 os << "no\n"; 541 542 os << "\n### Section for setting behaviour of copyright update\n" 522 543 << "[copyright]\n" 523 544 << "# if true svndigest will warn if file has no copyright statement.\n" 524 545 << "missing-copyright-warning = "; 525 526 546 if (conf.missing_copyright_warning()) 527 547 os << "yes\n";
Note: See TracChangeset
for help on using the changeset viewer.