Changeset 13 for trunk/lib/Node.cc


Ignore:
Timestamp:
Dec 30, 2005, 2:53:50 PM (17 years ago)
Author:
Jari Häkkinen
Message:

First steps to purge non subversion entries from tree structure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Node.cc

    r9 r13  
    7979  }
    8080
     81  bool Node::subversion_controlled(void) const {
     82    std::string system_call = "svn info " + path_;
     83    int system_return = system(system_call.c_str());
     84    if (system_return){
     85      std::cerr << "Error: svn info " << path_ << std::endl;     
     86      return false;
     87    }
     88    std::cerr << "Alright: svn info " << path_ << std::endl;     
     89
     90    return true;
     91  }
     92
    8193}} // end of namespace svnstat and namespace theplu
Note: See TracChangeset for help on using the changeset viewer.