On Jan 31, 2006, at 10:44 AM, phil wrote: > On Tue, 31 Jan 2006 01:59:49 -0800, Kevin Ballard <[EMAIL PROTECTED]> > wrote: >> Yeah, that number is flawed. It only updates when the file it's >> actually stored in is modified, which is never since the file only >> exists to contain that number. >> >> If we're going to have this feature we really need to figure out some >> way to keep it updated. > > If we made it part of the migration we could have something like: > > TYPO_VERSION=`svn info | grep Revision\:\ | cut -f2 -d' '`; echo > "Typo r${TYPO_VERSION}" > > then redirect it into lib/typo_version.rb, but I can't figure out > the syntax of that file.
That also assumes that everyone is using svn; quite a few people use svk, which would need a slightly different command. I don't think there's really a good solution to this problem, unfortunately. Scott _______________________________________________ Typo-list mailing list Typo-list@rubyforge.org http://rubyforge.org/mailman/listinfo/typo-list