Last change
on this file since 36 was
36,
checked in by Jari Häkkinen, 18 years ago
|
Changed Gnuplot interface. Fixed sever bug in Stats::accumulated(void).
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Id
|
File size:
474 bytes
|
Rev | Line | |
---|
[9] | 1 | // $Id: tree.cc 36 2006-01-13 01:05:53Z jari $ |
---|
| 2 | |
---|
| 3 | #include "Directory.h" |
---|
[36] | 4 | #include "Gnuplot.h" |
---|
[9] | 5 | |
---|
| 6 | #include <string> |
---|
[35] | 7 | #include <unistd.h> |
---|
[9] | 8 | |
---|
| 9 | int main(const int argc,const char* argv[]) |
---|
| 10 | { |
---|
| 11 | using namespace theplu::svnstat; |
---|
| 12 | |
---|
| 13 | bool ok = true; |
---|
| 14 | |
---|
[35] | 15 | system("ln -fns .. testrepo"); |
---|
[33] | 16 | Directory tree(std::string("testrepo")); |
---|
[9] | 17 | |
---|
[18] | 18 | tree.purge(); |
---|
[24] | 19 | tree.parse(); |
---|
[35] | 20 | |
---|
[33] | 21 | ok = ok && !system("mkdir -p svnstat_output"); |
---|
[35] | 22 | Stats::gnuplot_pipe_.command("cd 'svnstat_output'"); |
---|
| 23 | chdir("svnstat_output"); |
---|
| 24 | tree.print("./"); |
---|
[24] | 25 | |
---|
[9] | 26 | return (ok ? 0 : -1); |
---|
| 27 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.