Rebase: Fix CurrentRevision in NoteDb

This caller was missed long ago when we refactored everything to use
PatchSetUtil to look up PatchSets. Probably not coincidentally because
it was never tested, nor indeed plumbed into ChangeApi.

Change-Id: Ib77304286df14f22370375911bb59bd8bd3e6356
This commit is contained in:
Dave Borowitz
2017-02-23 16:20:05 -05:00
parent e32ed73ac2
commit cfc9e6da54
4 changed files with 59 additions and 6 deletions

View File

@@ -114,6 +114,12 @@ public interface ChangeApi {
/** Publishes a draft change. */
void publish() throws RestApiException;
/** Rebase the current revision of a change using default options. */
void rebase() throws RestApiException;
/** Rebase the current revision of a change. */
void rebase(RebaseInput in) throws RestApiException;
/** Deletes a change. */
void delete() throws RestApiException;
@@ -315,6 +321,16 @@ public interface ChangeApi {
throw new NotImplementedException();
}
@Override
public void rebase() {
throw new NotImplementedException();
}
@Override
public void rebase(RebaseInput in) {
throw new NotImplementedException();
}
@Override
public void delete() {
throw new NotImplementedException();