Try to fix reported RCS bug on Windows.

To setup system temporary directory with spaces in path is genuine idea.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27593 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2008-11-16 23:01:55 +00:00
parent 28f43b1896
commit b818b2c7ea

View File

@ -229,7 +229,7 @@ bool RCS::undoLastEnabled()
void RCS::getLog(FileName const & tmpf) void RCS::getLog(FileName const & tmpf)
{ {
doVCCommand("rlog " + quoteName(onlyFilename(owner_->absFileName())) doVCCommand("rlog " + quoteName(onlyFilename(owner_->absFileName()))
+ " > " + tmpf.toFilesystemEncoding(), + " > " + quoteName(tmpf.toFilesystemEncoding()),
FileName(owner_->filePath())); FileName(owner_->filePath()));
} }
@ -398,7 +398,7 @@ bool CVS::undoLastEnabled()
void CVS::getLog(FileName const & tmpf) void CVS::getLog(FileName const & tmpf)
{ {
doVCCommand("cvs log " + quoteName(onlyFilename(owner_->absFileName())) doVCCommand("cvs log " + quoteName(onlyFilename(owner_->absFileName()))
+ " > " + tmpf.toFilesystemEncoding(), + " > " + quoteName(tmpf.toFilesystemEncoding()),
FileName(owner_->filePath())); FileName(owner_->filePath()));
} }
@ -473,7 +473,7 @@ string SVN::checkIn(string const & msg)
doVCCommand("svn commit -m \"" + msg + "\" " doVCCommand("svn commit -m \"" + msg + "\" "
+ quoteName(onlyFilename(owner_->absFileName())) + quoteName(onlyFilename(owner_->absFileName()))
+ " > " + tmpf.toFilesystemEncoding(), + " > " + quoteName(tmpf.toFilesystemEncoding()),
FileName(owner_->filePath())); FileName(owner_->filePath()));
string log; string log;
@ -524,7 +524,7 @@ string SVN::checkOut()
} }
doVCCommand("svn update " + quoteName(onlyFilename(owner_->absFileName())) doVCCommand("svn update " + quoteName(onlyFilename(owner_->absFileName()))
+ " > " + tmpf.toFilesystemEncoding(), + " > " + quoteName(tmpf.toFilesystemEncoding()),
FileName(owner_->filePath())); FileName(owner_->filePath()));
string log; string log;
@ -576,7 +576,7 @@ bool SVN::undoLastEnabled()
void SVN::getLog(FileName const & tmpf) void SVN::getLog(FileName const & tmpf)
{ {
doVCCommand("svn log " + quoteName(onlyFilename(owner_->absFileName())) doVCCommand("svn log " + quoteName(onlyFilename(owner_->absFileName()))
+ " > " + tmpf.toFilesystemEncoding(), + " > " + quoteName(tmpf.toFilesystemEncoding()),
FileName(owner_->filePath())); FileName(owner_->filePath()));
} }