Selaa lähdekoodia

BUG: Remove '-d<now' from 'cvs log' commands

When CTest runs 'cvs log' to get revision information for updated files,
we were passing '-d<now'.  The option seems useless since revisions
cannot be created in the future, and can lose revisions if the client
machine clock is behind the server.
Brad King 16 vuotta sitten
vanhempi
sitoutus
7b527a6585
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      Source/CTest/cmCTestCVS.cxx

+ 1 - 1
Source/CTest/cmCTestCVS.cxx

@@ -261,7 +261,7 @@ void cmCTestCVS::LoadRevisions(std::string const& file,
   // Run "cvs log" to get revisions of this file on this branch.
   const char* cvs = this->CommandLineTool.c_str();
   const char* cvs_log[] =
-    {cvs, "log", "-N", "-d<now", branchFlag, file.c_str(), 0};
+    {cvs, "log", "-N", branchFlag, file.c_str(), 0};
 
   LogParser out(this, "log-out> ", revisions);
   OutputLogger err(this->Log, "log-err> ");