this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

another check for commit rev roll-back

+3
+3
cmd/relay/relay/verify.go
··· 127 127 if evt.Since != nil && *evt.Since != prevRepo.Rev { 128 128 logger.Warn("commit with miss-matching since", "since", evt.Since, "prevRepo.Rev", prevRepo.Rev) 129 129 } 130 + if evt.Rev <= prevRepo.Rev { 131 + return fmt.Errorf("%w: %s before or equal to %s", ErrRevSequence, evt.Rev, prevRepo.Rev) 132 + } 130 133 } 131 134 132 135 // this parse is redundant with earlier parse; once lenient mode is removed we should do only a single pass