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: Douglas Trujillo
date: 2012-11-10 23:53:18.000000000

Uploaded patch set 2.

-------------------------------------
author: Brenden Conley
date: 2012-11-10 23:53:25.000000000

Patch Set 2:

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

-------------------------------------
author: Douglas Trujillo
date: 2012-11-10 23:53:41.000000000

Patch Set 2: Verified; Looks good to me, approved; IP review completed



-------------------------------------
author: Douglas Trujillo
date: 2012-11-10 23:53:42.000000000

Change has been successfully merged into the git repository.

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