unisonweb / unison

A friendly programming language from the future
https://unison-lang.org
Other
5.73k stars 267 forks source link

`squash` discards history of all sub-namespaces #2309

Closed pchiusano closed 2 months ago

pchiusano commented 3 years ago

squash new old where new is ahead of old should keep all the old history and just create (at most) a single step for any updated subnamespace.

Instead it appears to discard all history of all subnamespaces of old, leading to really bad LCAs later.

Step 1 is just a transcript to reproduce this.

aryairani commented 3 years ago

IIRC this would be a new command. I don't think any special knowledge is needed to implement this, but I'm happy to discuss or review.

aryairani commented 2 months ago

Closing this because history for subnamespaces at all is on its way out for now.