Skip to content

Conversation

Kobzol
Copy link
Member

@Kobzol Kobzol commented Jul 13, 2025

This is useful e.g. for things like rust-lang/rust#143412. We want to do some non-trivial subtree change in rust-lang/rust, and we want to test what it will do on the subtree's CI before we actually merge that change.

So with this, we can do:

  1. Make the change in your fork of rust-lang/rust, push it to its master branch
  2. Do a rustc-josh-sync pull --upstream <username>/rust on the subtree
  3. Create a draft subtree PR from that change and check if CI is green

@Kobzol Kobzol merged commit 0654738 into rust-lang:main Jul 14, 2025
1 check passed
@Kobzol Kobzol deleted the pull-upstream-repo branch July 14, 2025 07:24
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.

1 participant