mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 07:57:13 +02:00
Deal with gaps and forks in commit history
If there are gaps or forks in the commit log history files, raise an exception and display the possible sets of files in the log files. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=155219410
This commit is contained in:
parent
7a3852b5a5
commit
3eef5095d4
4 changed files with 207 additions and 34 deletions
|
@ -87,7 +87,7 @@ public class RestoreCommitLogsAction implements Runnable {
|
|||
if (dryRun) {
|
||||
logger.info("Running in dryRun mode");
|
||||
}
|
||||
List<GcsFileMetadata> diffFiles = diffLister.listDiffFiles(fromTime);
|
||||
List<GcsFileMetadata> diffFiles = diffLister.listDiffFiles(fromTime, null);
|
||||
if (diffFiles.isEmpty()) {
|
||||
logger.info("Nothing to restore");
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue