]> https://gitweb.dealii.org/ - dealii.git/commitdiff
do not use base/revision.h in parameter_acceptor.h 5531/head
authorDenis Davydov <davydden@gmail.com>
Sun, 26 Nov 2017 18:13:02 +0000 (19:13 +0100)
committerDenis Davydov <davydden@gmail.com>
Sun, 26 Nov 2017 18:13:02 +0000 (19:13 +0100)
source/base/parameter_acceptor.cc

index e0303a964022b404eab3d8765430461d3cbf0e38..e065144564b388fb6ae4384e8ac30f69ba51c475 100644 (file)
@@ -15,7 +15,6 @@
 
 #include <deal.II/base/parameter_acceptor.h>
 #include <deal.II/base/utilities.h>
-#include <deal.II/base/revision.h>
 #include <deal.II/base/path_search.h>
 #include <boost/core/demangle.hpp>
 #include <fstream>
@@ -103,8 +102,7 @@ ParameterAcceptor::initialize(const std::string &filename,
       if ( extension == "prm")
         {
           outfile << "# Parameter file generated with " << std::endl
-                  << "# DEAL_II_GIT_BRANCH=   " << DEAL_II_GIT_BRANCH  << std::endl
-                  << "# DEAL_II_GIT_SHORTREV= " << DEAL_II_GIT_SHORTREV << std::endl;
+                  << "# DEAL_II_PACKAGE_VERSION = " << DEAL_II_PACKAGE_VERSION  << std::endl;
           Assert(output_style_for_prm_format == ParameterHandler::Text ||
                  output_style_for_prm_format == ParameterHandler::ShortText,
                  ExcMessage("Only Text or ShortText can be specified in output_style_for_prm_format."))

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.