From 6891e077d05ea1cd5c95d35d95066b8b7fb3fa68 Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Wed, 23 Dec 2009 23:06:07 +0000 Subject: [PATCH] SVN: Return an empty string when the log message is empty. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32627 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/VCBackend.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/VCBackend.cpp b/src/VCBackend.cpp index 61e31f5ac3..bf117d2494 100644 --- a/src/VCBackend.cpp +++ b/src/VCBackend.cpp @@ -600,7 +600,7 @@ string SVN::checkIn(string const & msg) fileLock(false, tmpf, log); tmpf.erase(); - return "SVN: " + log; + return log.empty() ? string() : "SVN: " + log; } @@ -695,7 +695,7 @@ string SVN::checkOut() fileLock(true, tmpf, log); tmpf.erase(); - return "SVN: " + log; + return log.empty() ? string() : "SVN: " + log; }