Post

annoyed by large build directories or cross-worktree artifact sprawl? a #jj-vcs megamerge is a great place to run your builds and tests, because because if the megamerge builds, so do all of your worktrees! plus, your build directories are O(1) with respect to worktrees, not O(worktrees)!

> if the megamerge builds, so do all of your worktrees! What do you mean by this? It doesn’t seem right by my naive reading. If I put `a := 1` in one change and `a++` in another, then the merge builds, but the individual changes do not.

0 reposts0 likes

hmm, you’re right. i think the actual statement needs to be weaker: this works if you shard your agents into standalone/separate work. cross-shard transactions/edits aren’t really supported :)