mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-21 07:17:25 +03:00
525 B
525 B
Test that copying a patch works as expected
x = 1
.> add
Change the definition of x
so something goes in our patch:
x = 2
.> update foo.patch
Copy the patch and make sure it's still there.
.> copy.patch foo.patch bar.patch
.> ls foo
.> view.patch foo.patch
.> ls bar
.> view.patch bar.patch
Now move the patch.
.> move.patch foo.patch qux.patch
The moved patch should be gone.
.> view.patch foo.patch
.> ls foo