# # # patch "guitone/src/model/ContentDiff.cpp" # from [266e612ce327dd35334a34c59a8fcfbb96090e71] # to [bdaf1d319eaa667501b6321534535a990e61d011] # # patch "guitone/src/model/GetFile.cpp" # from [b4db3123047433d5437936ddc9a60ac9c15fad2a] # to [d742ca02d7d142504a6ee26ebf3b8e7d649c27c6] # ============================================================ --- guitone/src/model/ContentDiff.cpp 266e612ce327dd35334a34c59a8fcfbb96090e71 +++ guitone/src/model/ContentDiff.cpp bdaf1d319eaa667501b6321534535a990e61d011 @@ -39,8 +39,9 @@ bool ContentDiff::readDiff(QString fileN QStringList cmd; cmd << "get_base_revision_id"; + int retCode; - if (!mtn->executeCommand(cmd)) + if (!mtn->executeCommand(cmd, retCode) || retCode != 0) { qWarning("ContentDiff::readDiff: could not execute get_base_revision_id"); return false; ============================================================ --- guitone/src/model/GetFile.cpp b4db3123047433d5437936ddc9a60ac9c15fad2a +++ guitone/src/model/GetFile.cpp d742ca02d7d142504a6ee26ebf3b8e7d649c27c6 @@ -36,8 +36,9 @@ bool GetFile::readFileByName(QString fil QStringList cmd; cmd << "get_base_revision_id"; + int retCode; - if (!mtn->executeCommand(cmd)) + if (!mtn->executeCommand(cmd, retCode) || retCode != 0) { qWarning("GetFile::readFileByName: could not execute get_base_revision_id"); return false;