Copy transcripts from the other empty namespace branch

This commit is contained in:
Chris Penner 2021-12-06 15:38:09 -06:00
parent 138799f92d
commit 0a625f3810
2 changed files with 111 additions and 0 deletions

View File

@ -0,0 +1,36 @@
# Empty namespace behaviours
```unison:hide
mynamespace.x = 1
```
```ucm:hide
.> add
.> delete.namespace mynamespace
```
The deleted namespace shouldn't appear in `ls` output.
```ucm:error
.> ls
```
```ucm:error
.> ls.verbose
```
```ucm:error
.> find mynamespace
```
The history of the namespace should still exist if requested explicitly.
```ucm
.> history mynamespace
```
Merging an empty namespace should still copy its history if it has some.
```ucm
.empty> history
.empty> merge .mynamespace
.empty> history
```

View File

@ -0,0 +1,75 @@
# Empty namespace behaviours
```unison
mynamespace.x = 1
```
The deleted namespace shouldn't appear in `ls` output.
```ucm
.> ls
nothing to show
```
```ucm
.> ls.verbose
😶
No results. Check your spelling, or try using tab completion
to supply command arguments.
```
```ucm
.> find mynamespace
😶
No results. Check your spelling, or try using tab completion
to supply command arguments.
```
The history of the namespace should still exist if requested explicitly.
```ucm
.> history mynamespace
Note: The most recent namespace hash is immediately below this
message.
#qjc20aua9h
- Deletes:
x
#hkrqt3tm05 (start of history)
```
Merging an empty namespace should still copy its history if it has some.
```ucm
☝️ The namespace .empty is empty.
.empty> history
☝️ The namespace .empty is empty.
.empty> merge .mynamespace
Nothing changed as a result of the merge.
.empty> history
Note: The most recent namespace hash is immediately below this
message.
#qjc20aua9h
- Deletes:
x
#hkrqt3tm05 (start of history)
```