Robin Rosenberg <robin.rosenberg@xxxxxxxxxx> wrote: > diff --git a/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/dialogs/BranchSelectionDialog.java b/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/dialogs/BranchSelectionDialog.java > index 9aad95b..28105af 100644 > --- a/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/dialogs/BranchSelectionDialog.java > +++ b/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/dialogs/BranchSelectionDialog.java > @@ -284,43 +311,81 @@ protected void createButtonsForButtonBar(Composite parent) { > newButton.setFont(JFaceResources.getDialogFont()); > newButton.setText(UIText.BranchSelectionDialog_NewBranch); > ((GridLayout)parent.getLayout()).numColumns++; > + Button renameButton = new Button(parent, SWT.PUSH); > + renameButton.setText("&Rename"); Not localized. > + if (renameRef.rename() != Result.RENAMED) { > + MessageDialog.openError(getShell(), > + "Rename failed", Not localized. -- Shawn. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html