When a checks out or commits a version, we should update a file (perhaps .dorothy/CURRENT_HEAD) with the version hash. This will allow users to keep track of the version they are working on.
Subcommands such as dorothy log might then use this file to refine the output, e.g. only show the versions on which CURRENT_HEAD depends.
When a checks out or commits a version, we should update a file (perhaps
.dorothy/CURRENT_HEAD) with the version hash. This will allow users to keep track of the version they are working on.Subcommands such as
dorothy logmight then use this file to refine the output, e.g. only show the versions on whichCURRENT_HEADdepends.