mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 18:24:48 +00:00
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
This commit is contained in:
parent
6aefcd7c24
commit
6891e077d0
@ -600,7 +600,7 @@ string SVN::checkIn(string const & msg)
|
|||||||
fileLock(false, tmpf, log);
|
fileLock(false, tmpf, log);
|
||||||
|
|
||||||
tmpf.erase();
|
tmpf.erase();
|
||||||
return "SVN: " + log;
|
return log.empty() ? string() : "SVN: " + log;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -695,7 +695,7 @@ string SVN::checkOut()
|
|||||||
fileLock(true, tmpf, log);
|
fileLock(true, tmpf, log);
|
||||||
|
|
||||||
tmpf.erase();
|
tmpf.erase();
|
||||||
return "SVN: " + log;
|
return log.empty() ? string() : "SVN: " + log;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user