Coding style

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31549 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2009-10-07 00:11:15 +00:00
parent 701157df09
commit 9467c8a809

View File

@ -36,13 +36,15 @@ using boost::smatch;
namespace lyx {
int VCS::doVCCommandCall(string const & cmd, FileName const & path){
int VCS::doVCCommandCall(string const & cmd, FileName const & path)
{
LYXERR(Debug::LYXVC, "doVCCommandCall: " << cmd);
Systemcall one;
support::PathChanger p(path);
return one.startscript(Systemcall::Wait, cmd);
}
int VCS::doVCCommand(string const & cmd, FileName const & path)
{
if (owner_)
@ -185,11 +187,13 @@ string RCS::checkIn(string const & msg)
return ret ? string() : "RCS: Proceeded";
}
bool RCS::checkInEnabled()
{
return owner_ && !owner_->isReadonly();
}
string RCS::checkOut()
{
owner_->markClean();
@ -458,6 +462,7 @@ void CVS::getLog(FileName const & tmpf)
FileName(owner_->filePath()));
}
bool CVS::toggleReadOnlyEnabled()
{
return false;
@ -793,6 +798,7 @@ bool SVN::lockingToggleEnabled()
return true;
}
void SVN::revert()
{
// Reverts to the version in CVS repository and