if (dialog.open() == BranchTagPropertyUpdateDialog.OK) newAlias = dialog.getNewAlias();
if (dialog.open() == BranchTagPropertyUpdateDialog.OK) newAlias = dialog.getNewAlias(); else newAlias = null;
    private void updateTagsProperty(SVNUrl toUrl) {    	try {			ISVNProperty property = null;			property = svnResource.getSvnProperty("subclipse:tags"); //$NON-NLS-1$			if (property == null) return;			newAlias = new Alias();			newAlias.setBranch(toUrl.toString().toUpperCase().indexOf("TAGS") == -1); //$NON-NLS-1$			String relativePath = toUrl.toString().substring(svnResource.getRepository().getUrl().toString().length());			newAlias.setRelativePath(relativePath);			SVNRevision revision = null;			if (revisionButton.getSelection()) revision = SVNRevision.getRevision(revisionText.getText().trim());			else {				ISVNClientAdapter svnClient = svnResource.getRepository().getSVNClient();				ISVNInfo svnInfo = svnClient.getInfo(url);				revision = SVNRevision.getRevision(svnInfo.getRevision().toString());			}			newAlias.setRevision(Integer.parseInt(revision.toString()));			newAlias.setName(toUrl.getLastPathSegment());			BranchTagPropertyUpdateDialog dialog = new BranchTagPropertyUpdateDialog(getShell(), resource, newAlias);			if (dialog.open() == BranchTagPropertyUpdateDialog.OK) newAlias = dialog.getNewAlias();    	} catch (Exception e) {}    }