Browse Source

REPORT-100547 【版本管理二期】远程环境下,配置的保留历史版本数目不生效

newui
Destiny.Lin 1 year ago
parent
commit
175de09e0b
  1. 6
      designer-base/src/main/java/com/fr/design/mainframe/vcs/ui/VcsMovePanel.java

6
designer-base/src/main/java/com/fr/design/mainframe/vcs/ui/VcsMovePanel.java

@ -313,11 +313,11 @@ public class VcsMovePanel extends BasicPane {
VcsMovePanel.this.getParentCard().next(getParentPane()); VcsMovePanel.this.getParentCard().next(getParentPane());
VcsMoveStrategy strategy; VcsMoveStrategy strategy;
if (moveDefaultButton.isSelected()) { if (moveDefaultButton.isSelected()) {
strategy = VcsMoveStrategy.createNumStrategy((int) spinner.getValue()); strategy = VcsMoveStrategy.createStrategy((int) spinner.getValue());
} else if (moveNothingButton.isSelected()) { } else if (moveNothingButton.isSelected()) {
strategy = VcsMoveStrategy.ALL_GIVE_UP; strategy = VcsMoveStrategy.createStrategy(0);
} else { } else {
strategy = VcsMoveStrategy.ALL_RETAIN; strategy = VcsMoveStrategy.createStrategy(Integer.MAX_VALUE);
} }
new MoveWorker(strategy).execute(); new MoveWorker(strategy).execute();
} }

Loading…
Cancel
Save