Skip to content

Commit 667e059

Browse files
fix issue with incorrect folder logic linking (#257)
1 parent 82e2832 commit 667e059

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

org.abapgit.adt.ui/src/org/abapgit/adt/ui/internal/wizards/AbapGitWizardPageBranchAndPackage.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
import org.abapgit.adt.backend.IExternalRepositoryInfoService;
1313
import org.abapgit.adt.backend.IRepositoryService;
1414
import org.abapgit.adt.backend.RepositoryServiceFactory;
15-
import org.abapgit.adt.backend.model.abapObjects.IAbapObject;
1615
import org.abapgit.adt.backend.model.abapgitexternalrepo.AccessMode;
1716
import org.abapgit.adt.backend.model.abapgitexternalrepo.IBranch;
1817
import org.abapgit.adt.backend.model.abapgitrepositories.IRepository;
@@ -360,10 +359,6 @@ public void run(IProgressMonitor monitor) throws InvocationTargetException, Inte
360359
//TODO remove this fallback after 2311 upgrade by users.
361360
deleteRepo(this.cloneData.url);
362361
this.cloneData.folderLogic = getFolderLogicFromRemoteDotAbapGIT();
363-
364-
if (this.cloneData.folderLogic == null) {
365-
return null;
366-
}
367362
} catch (InterruptedException e) {
368363
setMessage(e.getMessage(), DialogPage.ERROR);
369364
e.printStackTrace();
@@ -431,9 +426,8 @@ public void run(IProgressMonitor monitor) throws InvocationTargetException, Inte
431426

432427
});
433428
} catch (InvocationTargetException e) {
434-
setMessage(e.getTargetException().getMessage(), DialogPage.ERROR);
435-
setPageComplete(false);
436429
e.printStackTrace();
430+
deleteRepo(AbapGitWizardPageBranchAndPackage.this.cloneData.url);
437431
return null;
438432
} catch (InterruptedException e) {
439433
setPageComplete(false);

0 commit comments

Comments
 (0)