Skip to content

Commit

Permalink
- Subversion: show status will no longer will check for the .svn dire…
Browse files Browse the repository at this point in the history
…ctory, but instead will let the svn commanline do the work for it

git-svn-id: https://codelite.svn.sourceforge.net/svnroot/codelite/trunk@3100 9da81c78-c036-0410-9e1f-a2b0375e4b5a
  • Loading branch information
eranif committed Oct 2, 2009
1 parent 5afba4d commit 3b77a67
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions Subversion/subversion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -746,11 +746,6 @@ void SubversionPlugin::DoGetWspSvnStatus(const wxString &basePath, wxArrayString

//check that this directory is actually under svn control
dir.AppendDir(wxT(".svn"));
if (!dir.DirExists()) {
m_svn->PrintMessage(wxString::Format(wxT("Skipping non-versioned directory: %s\n"), iter->first.c_str()));
workspaceFolders.erase(iter);
continue;
}
dir.RemoveLastDir();

//check that this directory is not a child of another directory under svn control
Expand Down Expand Up @@ -891,14 +886,8 @@ void SubversionPlugin::DoGetPrjSvnStatus(const wxString &basePath, wxArrayString
if (inclOutOfDate) {
command << wxT("-u ");
}
wxFileName dir(basePath);
dir.AppendDir(wxT(".svn"));
if (dir.DirExists()) {
command << wxT("\"") << basePath << wxT("\" ");
ProcUtils::ExecuteCommand(command, output);
} else {
m_svn->PrintMessage(wxString::Format(_("Directory '%s' is not under SVN\n"), basePath.c_str()));
}
command << wxT("\"") << basePath << wxT("\" ");
ProcUtils::ExecuteCommand(command, output);
}

void SubversionPlugin::DoGeneratePrjReport(bool inclOutOfDate)
Expand Down

0 comments on commit 3b77a67

Please sign in to comment.