-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
On Nov 20, 2005, at 3:12 PM, Scott Laird wrote: > On Nov 20, 2005, at 12:07 PM, William A. Carrel wrote: >> >> The revision number in trunk/lib/typo_version.rb will not be updated >> unless the file is modified somehow. The 741 being seen was the last >> changeset that modified that file. > > Yeah, that's was I was afraid of. Perhaps we could add a commit hook > to modify the file? Perhaps, but that feels pretty ugly. It's going to clutter up every changeset with non-relevant changed lines, plus open questions like: do you iterate the file only for commits to the trunk or also for commits on branches/tags which will iterate the repository revision number? If the existing typo_version.rb == 'HEAD' and there is a .svn directory at the typo root then try to get the version with svnversion (or by parsing .svn/entries on the typo root, it's some pretty cut and dry XML). If it's a real point-release version then put that in typo_version.rb instead of 'HEAD'. All of these answers feel like solutions in search of a problem. Developers and users who are running HEAD rather than a point release should be prepared to run things like "svnversion /opt/my/typo" when submitting problem reports. Adding that to the "how to report an issue" page seems like a good thing to do anyway. __ wac -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (Darwin) iQIVAwUBQ4ErScoU8+xqMUDPAQqeqQ//WuP2WDsbImWQQzcEWScAhBc3OSYXyidI /DBiOVw83g408dNTaPEACgNgT51tU9LLKtrzixj8AhkP1AEc0iK/lTAG7ovJYZgf 1o+npAZ1XnUmtJTgT9jBZ6OaXmSbGZ/CiNjHvkSoCrFkzvINGecmte7/oE6wYJWb a0dgF9Q+bWqNw0RvgRgb3KoV5fztPfPyIQGWVHAO+qO7osFvP1p3wTNRLSNxTbnW ZpwlAayXEGG/SBGozqKx1CudMGcGRu1f0xaCDrJCHa2dDQOTrNUuguDWYENT8rIi w7sLRoJXRSQh1r0SNM+4AdFa2OIA8vwkmtffU0zsea2uMI5wjVFov6Izh4lJSZP0 y8Kq75TjkELW+lT+n39S2Haf8lZTg5NZfJKc6V143IH+OpxDy1sxOEUrOJAIWsZC /fH3Vf29pUGOFSssaPbQTCAm0mtuT9tl3cLrUbXB9CMHxTqh96TmZecO652KASnr Lk33nh4VnQtrNSfCIW76LmaRkvh276/6qFU5vvqSrSS1Ar+P85kYPWF+6qj824NT emZWx9JntMO1wGgsRzvcNd9/ug87zYHMuHoJt86qp1uoZ82V+cdLDX+MKvJyYNnr 9RP/VMekY/fwd3Dxd77+Xx+VnP3lui/2qHNNrQ1EeHEmNv3D+CNjjpydAtQ3p/Oc mvH3pvVFsBU= =M1wp -----END PGP SIGNATURE-----
