╭──────────╮ │← previous│ ╰──────────╯ ╭ changed ─────────╮ │src/test/event.zig│ ╰──────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │109 // │ │110 │ │111 { │ │112 - try evt.consume(.repo, .xit, repo_opts, io, allocator, &repo, evt.events_ref, &.{}); │ │112 + try evt.consume(.local, .repo, .xit, repo_opts, io, allocator, &repo, evt.events_ref, &.{});│ │113 │ │114 const haxy_moment = try evt.currentMoment(repo_opts, &repo); │ │115 │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │148 }; │ │149 │ │150 // commit and consume the new event │ │151 - try evt.consume(.repo, .xit, repo_opts, io, allocator, &repo, evt.events_ref, &events_to_consume2); │ │151 + try evt.consume(.local, .repo, .xit, repo_opts, io, allocator, &repo, evt.events_ref, &events_to_consume2);│ │152 │ │153 // │ │154 // rebase the branch so it no longer includes the edit event │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │191 // │ │192 │ │193 { │ │194 - try evt.consume(.repo, .xit, repo_opts, io, allocator, &repo, evt.events_ref, &.{}); │ │194 + try evt.consume(.local, .repo, .xit, repo_opts, io, allocator, &repo, evt.events_ref, &.{});│ │195 │ │196 const haxy_moment = try evt.currentMoment(repo_opts, &repo); │ │197 │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │250 // │ │251 │ │252 { │ │253 - try evt.consume(.repo, .xit, repo_opts, io, allocator, &repo, evt.events_ref, &.{}); │ │253 + try evt.consume(.local, .repo, .xit, repo_opts, io, allocator, &repo, evt.events_ref, &.{});│ │254 │ │255 const haxy_moment = try evt.currentMoment(repo_opts, &repo); │ │256 │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │353 // │ │354 │ │355 { │ │356 - try evt.consume(.repo, .xit, repo_opts, io, allocator, &repo, evt.events_ref, &.{}); │ │356 + try evt.consume(.local, .repo, .xit, repo_opts, io, allocator, &repo, evt.events_ref, &.{});│ │357 │ │358 const haxy_moment = try evt.currentMoment(repo_opts, &repo); │ │359 │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │458 // │ │459 │ │460 { │ │461 - try evt.consume(.repo, .xit, repo_opts, io, allocator, &repo, evt.events_ref, &.{}); │ │461 + try evt.consume(.local, .repo, .xit, repo_opts, io, allocator, &repo, evt.events_ref, &.{});│ │462 │ │463 const haxy_moment = try evt.currentMoment(repo_opts, &repo); │ │464 │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │550 // │ │551 │ │552 { │ │553 - try evt.consume(.repo, .xit, repo_opts, io, allocator, &repo, evt.events_ref, &.{}); │ │553 + try evt.consume(.local, .repo, .xit, repo_opts, io, allocator, &repo, evt.events_ref, &.{});│ │554 │ │555 const haxy_moment = try evt.currentMoment(repo_opts, &repo); │ │556 │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │652 _ = try std.fmt.hexToBytes(&issue_id, &events_to_consume[0].id); │ │653 │ │654 { │ │655 - try evt.consume(.repo, .xit, repo_opts, io, allocator, &repo, evt.events_ref, &.{}); │ │655 + try evt.consume(.local, .repo, .xit, repo_opts, io, allocator, &repo, evt.events_ref, &.{});│ │656 │ │657 // consuming the merge again must be a no-op rather than replaying it │ │658 - try evt.consume(.repo, .xit, repo_opts, io, allocator, &repo, evt.events_ref, &.{}); │ │658 + try evt.consume(.local, .repo, .xit, repo_opts, io, allocator, &repo, evt.events_ref, &.{});│ │659 │ │660 const haxy_moment = try evt.currentMoment(repo_opts, &repo); │ │661 │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │737 try std.testing.expect(.success == merge.result); │ │738 } │ │739 │ │740 - try evt.consume(.repo, .xit, repo_opts, io, allocator, &repo, evt.events_ref, &.{}); │ │740 + try evt.consume(.local, .repo, .xit, repo_opts, io, allocator, &repo, evt.events_ref, &.{});│ │741 │ │742 const haxy_moment = try evt.currentMoment(repo_opts, &repo); │ │743 │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │757 // │ │758 │ │759 { │ │760 - try evt.Issue.update(.xit, repo_opts, io, allocator, &repo, &issue_id, .{ .status = .closed }, author); │ │760 + try evt.Issue.update(.local, .xit, repo_opts, io, allocator, &repo, &issue_id, .{ .status = .closed }, author); │ │761 │ │762 const haxy_moment = try evt.currentMoment(repo_opts, &repo); │ │763 const conflicts_cursor = try haxy_moment.getCursor(hash.hashInt(repo_opts.hash, evt.Issue.conflicts_key)) orelse return error.NotFound;│ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────╮ │next →│ ╰──────╯