~ubuntu-branches/debian/stretch/gource/stretch

« back to all changes in this revision

Viewing changes to src/formats/bzr.cpp

  • Committer: Package Import Robot
  • Author(s): Andrew Caudwell
  • Date: 2014-05-09 16:04:35 UTC
  • mfrom: (1.2.16)
  • Revision ID: package-import@ubuntu.com-20140509160435-rzkq260orxhi0fi7
Tags: 0.42-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
std::string BazaarLog::logCommand() {
29
29
 
30
 
    std::string start = (!gGourceSettings.start_date.empty()) ? gGourceSettings.start_date : "1";
31
 
    std::string stop  = (!gGourceSettings.stop_date.empty())  ? gGourceSettings.stop_date  : "-1";
 
30
    std::string start = (!gGourceSettings.start_date.empty()) ? "date:"+gGourceSettings.start_date : "1";
 
31
    std::string stop  = (!gGourceSettings.stop_date.empty())  ? "date:"+gGourceSettings.stop_date  : "-1";
32
32
 
33
 
    std::string range = str(boost::format("date:%s..%s") % start % stop);
 
33
    std::string range = str(boost::format("%s..%s") % start % stop);
34
34
 
35
35
    std::string log_command = str(boost::format("bzr log --verbose -r %s --short -n0 --forward") % range);
36
36