mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-28 14:58:36 +00:00
cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28291 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
92c85e2e2b
commit
1f94bc302a
@ -423,14 +423,14 @@ SVN::SVN(FileName const & m, FileName const & f)
|
||||
|
||||
FileName const SVN::findFile(FileName const & file)
|
||||
{
|
||||
// First we look for the CVS/Entries in the same dir
|
||||
// First we look for the .svn/entries in the same dir
|
||||
// where we have file.
|
||||
FileName const entries(onlyPath(file.absFilename()) + "/.svn/entries");
|
||||
string const tmpf = onlyFilename(file.absFilename());
|
||||
LYXERR(Debug::LYXVC, "LyXVC: Checking if file is under svn in `" << entries
|
||||
<< "' for `" << tmpf << '\'');
|
||||
if (entries.isReadableFile()) {
|
||||
// Ok we are at least in a CVS dir. Parse the CVS/Entries
|
||||
// Ok we are at least in a SVN dir. Parse the .svn/entries
|
||||
// and see if we can find this file. We do a fast and
|
||||
// dirty parse here.
|
||||
ifstream ifs(entries.toFilesystemEncoding().c_str());
|
||||
|
Loading…
Reference in New Issue
Block a user