Fix replaying of revisions when the old and new ref are the same

In the unlikely case when the imported change gets the same number as in
the source system the create/delete of the new/old patch set ref would
fail in the create step as this ref already exists.

Implement a proper ref rename which takes care about this special case.

Change-Id: I889543de11815b171674f170620c43bf8ced54b5
1 file changed
tree: 01ed30313307074e558f07d103bdde6954b53b79
  1. .settings/
  2. lib/
  3. src/
  4. .buckconfig
  5. .gitignore
  6. BUCK
  7. LICENSE
  8. pom.xml
  9. VERSION