Combining changes

I’m wondering if there is a way using the current commands to squash a number of changes into one.

The closest I’ve managed it to

  1. pull all the changes I want to combine into a channel
  2. run pijul diff between that channel and main; the output looks like a change

Not that I’ve tried this on the current pijul but:

  1. pull all the changes you want into a channel
  2. unrecord the changes
  3. record the squashed change

This is actually what a command to do that should do (in addition to recording the pending changes first, and unrecording them afterwards).

Well, it should also be a bit smart about merging authors and allowing you to edit a combined change message.