Browse Source

REPORT-20981 模板版本管理减少磁盘占用

research/11.0
Hugh.C 5 years ago
parent
commit
2312a7d05f
  1. 4
      designer-base/src/main/java/com/fr/design/mainframe/vcs/common/VcsHelper.java

4
designer-base/src/main/java/com/fr/design/mainframe/vcs/common/VcsHelper.java

@ -147,7 +147,9 @@ public class VcsHelper implements JTemplateActionListener {
if (needDeleteVersion(oldEntity)) {
operator.deleteVersion(oldEntity.getFilename(), oldEntity.getVersion());
}
operator.gc();
if (GcConfig.getInstance().isGcEnable()) {
operator.gc();
}
}
}).start();

Loading…
Cancel
Save