The Joy of Coding: Episode Guide
Project maintained by
Hosted on GitHub Pages — Theme by mattgraham
Episode 311: Jan 11th, 2023
Links
Topics
- Reviewing a patch for Danny Colin!
- Still hacking on WindowsJumpLists!
- Goal: I want the JumpListManager to only ever be accessed off of the main thread, so that the main thread in the parent process never has to await a lock.
- Question: “What is easiest way to succeed with applying an old patch, bump it to tip and deal with merge conflicts? To handle review feedback. Is it best to apply somewhere close in the Mercurial tree where it was committed?”
- Answer: It’s best if you can take advantage of the VCS’s smarts when reviving an old patch. moz-phab patch XYZ –apply-to here just uses the patch command under the hood to apply the patch directly. Rebase the old patch from where it was onto the tip. That will take advantage of what the VCS knows about what has happened since that commit was made.
- Rate this episode
Chat