DESCRIPTION

BranchRenameDialog: Test for invalid ref before resolving it

The revision parser was made stricter in JGit, so resolving "foo/" now
throws a RevisionSyntaxException (see also bug 393227).

Fix this by moving the isValidRefName check before the "ref already
exists" check.

Bug: 393914
Change-Id: Id074c4f987302c3fe1885c9e5fec1d37005bd8f9


COMMENTS

author: Brenden Conley
date: 2012-11-08 19:22:34.000000000

Patch Set 1:

Build Started https://hudson.eclipse.org/sandbox/job/egit.gerrit/3574/ 

-------------------------------------
author: Brenden Conley
date: 2012-11-08 19:53:09.000000000

Patch Set 1: Fails

Build Failed 

https://hudson.eclipse.org/sandbox/job/egit.gerrit/3574/ : ABORTED

-------------------------------------
author: Brenden Conley
date: 2012-11-08 22:49:24.000000000

Patch Set 1: No score

Build Started https://hudson.eclipse.org/sandbox/job/egit.gerrit/3578/ 

-------------------------------------
author: Brenden Conley
date: 2012-11-08 23:08:22.000000000

Patch Set 1: I would prefer that you didn't submit this

Build Unstable 

https://hudson.eclipse.org/sandbox/job/egit.gerrit/3578/ : UNSTABLE

-------------------------------------
