Skip to content

v0.2.55..v0.2.56 changeset ChangesetApplyCmd.cpp

Garret Voltz edited this page Aug 14, 2020 · 3 revisions
diff --git a/hoot-core/src/main/cpp/hoot/core/cmd/ChangesetApplyCmd.cpp b/hoot-core/src/main/cpp/hoot/core/cmd/ChangesetApplyCmd.cpp
index e2570c4..4b3a4f9 100644
--- a/hoot-core/src/main/cpp/hoot/core/cmd/ChangesetApplyCmd.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/cmd/ChangesetApplyCmd.cpp
@@ -50,7 +50,7 @@ public:
 
   static string className() { return "hoot::ChangesetApplyCmd"; }
 
-  ChangesetApplyCmd() { }
+  ChangesetApplyCmd() = default;
 
   virtual QString getName() const override { return "changeset-apply"; }
 
@@ -142,6 +142,9 @@ public:
         1.0, writer.containsFailed() ? Progress::JobState::Failed : Progress::JobState::Successful,
         "Changeset(s) applied to: " + printableUrl.left(maxFilePrintLength) + "...");
 
+      //  Output the last changeset ID in a status message
+      LOG_STATUS("Last changeset pushed ID: " << writer.getLastChangesetId());
+
       //  Write out the failed changeset if there is one
       if (writer.containsFailed())
       {
Clone this wiki locally