30 lines
5.7 KiB
Plaintext
30 lines
5.7 KiB
Plaintext
Medley VERSIONDEFS
|
||
2
|
||
|
||
4
|
||
|
||
1
|
||
|
||
VERSIONDEFS
|
||
1
|
||
|
||
4
|
||
|
||
By Ron Kaplan
|
||
This document was last edited in December 2024.
|
||
|
||
VERSIONDEFS provides basic tools for working with (but keeping separate) the different definitions of an item on different Medley file-versions. A version is specified as a positive or negative integer. The positive integers count from the oldest file (version 1 is the oldest, version 2 is the second oldest) while negative integers count down from the most recent version (-1 is the newest, -2 is the next newest, etc.). The atoms OLDEST, FIRST, F are synonyms for 1, NEWEST, N and the number 0 are synonyms for -1. (With a little more work, a version could be specified as before or after a particular date.)
|
||
Currently this operates on files that already exist in the local environment. The shell utility scripts/restore-versions.sh can be used to recreate locally the medley-versions of files in a remote git repository, in the order of their commits. Those files could then be specified by their ordinal numbers. A further extension would be to use git branch, commit, or PR identifiers to refer to specific file versions.
|
||
(VERSIONP X) [Function]ÿÿ |