unison/unison-src/transcripts/update-ignores-lib-namespace.md
2024-06-25 11:11:07 -07:00

490 B

update / patch (anything that a patch) ignores the namespace named "lib" at the location it's applied. This follows the project organization convention that dependencies are put in "lib"; it's much easier to apply a patch to all of one's own code if the "lib" namespace is simply ignored.

scratch/main> builtins.merge
foo = 100
lib.foo = 100
scratch/main> add
foo = 200
scratch/main> update
scratch/main> names foo