in client server mode CVS does not like full path operand for directory operation; LyX is in the repo dir already, so "." is used as target

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35836 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stephan Witt 2010-10-25 17:49:45 +00:00
parent e48942bbbb
commit 85b1bba640

View File

@ -443,7 +443,9 @@ string const CVS::getTarget(OperationMode opmode) const
{
switch(opmode) {
case Directory:
return quoteName(owner_->filePath());
// in client server mode CVS does not like full path operand for directory operation
// since LyX switches to the repo dir "." is good enough as target
return ".";
case File:
return quoteName(onlyFileName(owner_->absFileName()));
}