Let's say I have a test console program for *nix systems, named 'testprog' that I have in source control via Fossil. Now, each time I make a commit, it generates a new version number. What I am looking for is how to output that version number to the console like so:
$ testprog --version testprog Version [8b73c285a1] 2011-12-12 08:32:12 Also, I noticed that as of about 2 Fossil versions ago, there is support for sequential versioning, which I think is great for trying to figure out if you have the latest version or are out of date. But, I'm fuzzy on how do I assign that number? How do I tell Fossil that this checkin is Version 1.1? And what formats are available (e.g., Major.Minor [1.2], Major.Minor.Bugfix [2.3.43], etc.)? And will it automatically be put into the console output like so? $ testprog --version testprog Version 3.1.4 [8b73c285a1] 2011-12-12 08:32:12 Thank you. -- Christopher Berardi http://www.natoufa.com/ Be still, and know that I am God (Psalms 46:10) _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users