BazaarLog::BazaarLog(const std::string& logfile) : RCommitLog(logfile) { log_command = gGourceBzrLogCommand(); //can generate log from directory if(!logf && is_dir) { logf = generateLog(logfile); if(logf) { success = true; seekable = true; } } }
MercurialLog::MercurialLog(std::string logfile) : RCommitLog(logfile) { log_command = gGourceMercurialCommand(); //can generate log from directory if(!logf && is_dir) { logf = generateLog(logfile); if(logf) { success = true; seekable = true; } } }
GitCommitLog::GitCommitLog(std::string logfile) : RCommitLog(logfile, 'u') { log_command = gGourceGitLogCommand; //can generate log from directory if(!logf && is_dir) { logf = generateLog(logfile); if(logf) { success = true; seekable = true; } } }
SVNCommitLog::SVNCommitLog(const std::string& logfile) : RCommitLog(logfile, '<') { log_command = logCommand(); //can generate log from directory if(!logf && is_dir) { logf = generateLog(logfile); if(logf) { success = true; seekable = true; } } logentry.reserve(1024); }
GitCommitLog::GitCommitLog(const std::string& logfile) : RCommitLog(logfile, ".git", 'u') { log_command = gGourceGitLogCommand; if(gGourceSettings.git_branch.size()>0) { log_command += " "; log_command += gGourceSettings.git_branch; } //can generate log from directory if(!logf && is_dir) { logf = generateLog(this->logfile); if(logf) { success = true; seekable = true; } } }