Using jj, if I want to take a new version of file and put it 'wholesale' into an older revision (where b is newer and a is older):

jj restore --from b --into a --restore-descendants -- path/to/file