[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdevelop/parts/cvs
From: Mario Scalas <mario.scalas () libero ! it>
Date: 2003-05-31 18:24:47
[Download RAW message or body]
CVS commit by marios:
Clean-up of a few dead code lines ;)
M +0 -15 cvspart.cpp 1.38
--- kdevelop/parts/cvs/cvspart.cpp #1.37:1.38
@@ -256,13 +256,4 @@ bool CvsPart::Private::isRegisteredInRep
QString dirName = pathUrl.directory();
QString entriesFilePath = dirName + "/CVS/Entries";
- // Lines in CVS/Entries are like:
- // /.cvsignore/1.3/Fri Aug 30 21:21:04 2002//
- // /Makefile.am/1.9/Sun Apr 6 16:52:14 2003//
- // ...
- // That is: <slash><filename><slash>...
- // So we just properly "escape" the filename so that "Makefile" does not
- // match with "Makefile.am" ;-)
-// QString whatToSearch = "/" + pathUrl.fileName() + "/";
-// QString whatToSearch = pathUrl.fileName();
kdDebug(9000) << "===> pathUrl.path() = " << pathUrl.path() << endl;
@@ -276,13 +267,7 @@ bool CvsPart::Private::isRegisteredInRep
{
QTextStream t( &f );
-// QString s;
CvsEntry cvsEntry;
-// while (!t.eof() && !found)
while (cvsEntry.read( t ) && !found)
{
-// s = t.readLine();
-// kdDebug(9000) << "===> Analyzing line: " << s << endl;
-
-// if (s.find( whatToSearch ) > -1)
if (cvsEntry.fileName == pathUrl.fileName())
{
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic