Files
gerrit/java
Edwin Kempin cb1647ac51 RefNames: Add method to compute change ref prefix and use it in DeleteChangeOp
DeleteChangeOp needs the ref prefix for the change that is being deleted
(e.g. refs/changes/12/34512/) so that it can find all refs of that
change by doing a ref search by prefix and then remove them.

The way how DeleteChangeOp computed the ref prefix was not very
readable. It retrieved the ref for the first patch set and then removed
the patch set number from the ref.

Signed-off-by: Edwin Kempin <ekempin@google.com>
Change-Id: I42304dbcc0fa34b5ec9b12594f09151ee81d89d0
2019-09-13 08:58:16 +02:00
..
2019-09-05 10:14:43 +02:00