private static final String URL = "url"; //$NON-NLS-1$
private static final String PUSHURL = "pushurl"; //$NON-NLS-1$
public Object execute(ExecutionEvent event) throws ExecutionException {
FetchNode node = getSelectedNodes(event).get(0);
RemoteNode remote = (RemoteNode) node.getParent();
StoredConfig config = node.getRepository().getConfig();
String fetchUrl = config.getString(REMOTE, remote.getObject(), URL);
config.unset(REMOTE, remote.getObject(), FETCH);
config.unset(REMOTE, remote.getObject(), URL);
// the push URL may still be needed for fetch
if (fetchUrl != null) {