| commit | dcd0d4e4aed23ae5f04364d438e46d98c0f607f0 | [log] [tgz] |
|---|---|---|
| author | David Ostrovsky <david@ostrovsky.org> | Sun Mar 02 19:28:25 2014 +0100 |
| committer | David Ostrovsky <david@ostrovsky.org> | Mon Mar 24 14:27:51 2014 -0700 |
| tree | ee6d391f7ccd1b4a054043c6c957dbe431eab158 | |
| parent | b3865f27442b28714bbc004790297618203c36f4 [diff] |
Revision API: Add method to query if revision must be rebased
With canRebase() method plugins can figure out if a specific revision
can actually be rebased, if it's not based on the latest revision of
the dependent change.
boolean canRebase = gApi.changes()
.id(change)
.revision(revision)
.canRebase();
Change-Id: Ib64a6ed5a62f83639143088624ad72d93edae3cf