no message
This commit is contained in:
@@ -54,12 +54,12 @@ public class OpenCurrentProject extends Pass_2021<db_project_info> {
|
||||
mode = Mode.ProjectInfo;
|
||||
target = (db_project_info) arg;
|
||||
dir = target.Home;
|
||||
Global.Log.Print(DebugPrintLevel.Project, "готовая версия " + CommonUtils.Brackets(dir.getAbsolutePath()));
|
||||
CommonUtils.MainLog.Print(DebugPrintLevel.Project, "готовая версия " + CommonUtils.Brackets(dir.getAbsolutePath()));
|
||||
return needsOpen();
|
||||
}
|
||||
}
|
||||
if ((dir != null) && needsOpen()) {
|
||||
Global.Log.Print(DebugPrintLevel.Project, CommonUtils.Brackets(dir.toString()));
|
||||
CommonUtils.MainLog.Print(DebugPrintLevel.Project, CommonUtils.Brackets(dir.toString()));
|
||||
if (!dir.isDirectory()) {
|
||||
Log.Writeln_(CommonUtils.Brackets(dir) + "\nне является папкой!");
|
||||
return false;
|
||||
@@ -85,7 +85,7 @@ public class OpenCurrentProject extends Pass_2021<db_project_info> {
|
||||
db_project_info root = Current.getRoot();
|
||||
db_project_info project = root.find_version_r(dir);
|
||||
if (project != null) {
|
||||
Global.Log.Print("версия найдена в текущем корне");
|
||||
CommonUtils.MainLog.Print("версия найдена в текущем корне");
|
||||
//версия уже существует. и выстраивать дерево второй раз не нужно.
|
||||
//как и отображать дерево.
|
||||
target = project;
|
||||
@@ -94,7 +94,7 @@ public class OpenCurrentProject extends Pass_2021<db_project_info> {
|
||||
return;
|
||||
}
|
||||
}
|
||||
Global.Log.Print(DebugPrintLevel.Project, "построение дерева версий");
|
||||
CommonUtils.MainLog.Print(DebugPrintLevel.Project, "построение дерева версий");
|
||||
target = new db_project_info(dir);
|
||||
new_root = target.CreateVersionsTree();
|
||||
target.Open();
|
||||
|
||||
Reference in New Issue
Block a user