Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply command #47

Merged
merged 2 commits into from
Sep 23, 2024
Merged

Apply command #47

merged 2 commits into from
Sep 23, 2024

Conversation

Chris7
Copy link
Collaborator

@Chris7 Chris7 commented Sep 18, 2024

Setup for applying a changeset to a given branch.

Base automatically changed from operation-branch-support to main September 18, 2024 20:08
@Chris7 Chris7 force-pushed the cross-branch-operations branch 2 times, most recently from ca972d8 to 2116ba6 Compare September 19, 2024 16:28
@Chris7 Chris7 requested a review from dkhofer September 21, 2024 14:18
let mut dfs = DfsPostOrder::new(&graph, creation_id);

// Traverse all transitive predecessors
while let Some(ancestor) = dfs.next(&graph) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm confused, this is adding all operations to the return vec, and then below, we're adding just those operations for the input branch, which I assume would all be redundant

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Never mind, just saw the creation_id thing

Copy link
Collaborator

@dkhofer dkhofer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Chris7 Chris7 merged commit 4da2bb6 into main Sep 23, 2024
2 checks passed
@Chris7 Chris7 deleted the cross-branch-operations branch September 23, 2024 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants