void () { if (myProject != null && myUrlProvider != null) { try { SvnRepositoryLocation location = new SvnRepositoryLocation(myUrlProvider.compute()); SvnChangeList version = SvnSelectRevisionUtil.chooseCommittedChangeList(myProject, location, myRoot); if (version != null) { myRevisionField.setText(String.valueOf(version.getNumber())); } } catch (SvnBindException e) { showErrorDialog(myProject, e.getMessage(), message("error.cannot.load.revisions")); } } }