chapel-lang/chapel — pull request #25 by thomasvandoren (2014-07-18 00:41:43+00:00)
Title: Update chpl --version to use git sha1 and branch, instead of svn revision

This updates BUILD_VERSION to store a string of the form "@"
representing the branch and commit checked out in the workspace. That string is
the fourth part of the version number, when it is available.

This commit does not change behavior of when BUILD_VERSION is generated.

### TODO

* [ ] run testing against full suite
* [ ] verify --version works on different platforms
* [ ] verify --version works from release tarball (should not include fourth version number)