Revert "Files REST endpoint: Don't parse non-existing files"
This reverts commit 0520e08cb6
. It broke
display of diffs for deleted files.
Also add a test to prevent it breaking again.
Bug: Issue 4450
Change-Id: Ib7546ed88c9cf7a5a0e16fc1eeff5a224feb4f25
This commit is contained in:
@@ -47,7 +47,7 @@ public interface RevisionApi {
|
||||
Map<String, FileInfo> files() throws RestApiException;
|
||||
Map<String, FileInfo> files(String base) throws RestApiException;
|
||||
Map<String, FileInfo> files(int parentNum) throws RestApiException;
|
||||
FileApi file(String path) throws RestApiException;
|
||||
FileApi file(String path);
|
||||
MergeableInfo mergeable() throws RestApiException;
|
||||
MergeableInfo mergeableOtherBranches() throws RestApiException;
|
||||
|
||||
|
Reference in New Issue
Block a user