On 8/15/17, Steve Schow <[email protected]> wrote:
> Related to this question, anyone have any workflow suggestions for
> accomplishing this aside from remembering to bump the number manually in the
> file before every important checkin or commit?
Fossil is self-hosting on Fossil. The way it works is that there is a
"VERSION" file at the top-level that contains the current project
version number as text. This version number gets baked into the
binary by the makefile. We manually edit the "VERSION" file prior to
each release.
https://www.fossil-scm.org/fossil/finfo?name=VERSION
The "version number" of individual files is inherent in its SHA3 hash
(or SHA1 historically). If you have some file and you want to ask
"what check-in does this file go with" you can type:
fossil whatis $HASHPREFIX
And Fossil will tell you about that file - when it was first checked
in, etc. To compute a SHA3 hash on an unknown file:
fossil sha3sum $FILENAME
--
D. Richard Hipp
[email protected]
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users