Skip to content

Commit 25be58a

Browse files
committed
Add comment pull transcripts. Need to update ucm after PRs there are
merged
1 parent 14e0742 commit 25be58a

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
```ucm:hide
2-
scratch/main> pull @test/history-comments/main
1+
```ucm
2+
scratch/main> pull @transcripts/history-comments/main
33
scratch/main> history
44
```

transcripts/share-apis/history-comments/prelude.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@ x = 1
99
```
1010

1111
```ucm
12+
scratch/main> update
1213
scratch/main> config.set author.name Unison
1314
scratch/main> history.comment /main: "Initial commit with variable x set to 1"
1415
scratch/main> alias.term x y
1516
scratch/main> history.comment /main: "Renamed x to y"
1617
scratch/main> history
17-
scratch/main> push @test/history-comments/main
18+
scratch/main> push @transcripts/history-comments/main
1819
```

transcripts/transcript_functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ mkdir -p "${ucm_xdg_data_dir}/unisonlanguage"
1111
ucm_credentials_file="${ucm_xdg_data_dir}/unisonlanguage/credentials.json"
1212

1313
# Executable to use when running unison transcripts
14-
export UCM_PATH="${UCM_PATH:-"$(which ucm)"}"
14+
export UCM_PATH="$(which unison-history-comment-message)"
1515
export empty_causal_hash='sg60bvjo91fsoo7pkh9gejbn0qgc95vra87ap6l5d35ri0lkaudl7bs12d71sf3fh6p23teemuor7mk1i9n567m50ibakcghjec5ajg'
1616
export echo_server_port=9999
1717
export echo_server="http://localhost:${echo_server_port}"

0 commit comments

Comments
 (0)