Pārlūkot izejas kodu

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 gadi atpakaļ
vecāks
revīzija
7b527a6585
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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.
   // Run "cvs log" to get revisions of this file on this branch.
   const char* cvs = this->CommandLineTool.c_str();
   const char* cvs = this->CommandLineTool.c_str();
   const char* cvs_log[] =
   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);
   LogParser out(this, "log-out> ", revisions);
   OutputLogger err(this->Log, "log-err> ");
   OutputLogger err(this->Log, "log-err> ");