|
|
|
@ -1,7 +1,6 @@
|
|
|
|
|
package com.fr.design.mainframe.vcs.common; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import com.fr.base.extension.FileExtension; |
|
|
|
|
import com.fr.concurrent.NamedThreadFactory; |
|
|
|
|
import com.fr.design.DesignerEnvManager; |
|
|
|
|
import com.fr.design.file.HistoryTemplateListCache; |
|
|
|
@ -136,9 +135,6 @@ public class VcsHelper implements JTemplateActionListener {
|
|
|
|
|
public void run() { |
|
|
|
|
|
|
|
|
|
String fileName = getEditingFilename(); |
|
|
|
|
if (FileExtension.VIS.matchExtension(fileName)) { // fvs文件先不做版本控制
|
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
VcsOperator operator = WorkContext.getCurrent().get(VcsOperator.class); |
|
|
|
|
VcsEntity entity = operator.getFileVersionByIndex(fileName, 0); |
|
|
|
|
int latestFileVersion = 0; |
|
|
|
|