Robinson Tryon wrote:
> On 10/5/07, Ward Vandewege <ward at gnu.org> wrote:
>>> On Sat, Oct 06, 2007 at 12:30:06AM +0200, Uwe Hermann wrote:
>>>>>> etc.) or at least ask some svn experts whether there is an easier and
>>>> cleaner way to include a revision number?
>>>>>>> Yeah, that would surely be great. Do you know any method or whom to ask?
>>> I browsed the svn code and manuals but didn't find anything better
>>> than $Rev$.
>>>>> Can't we do this with a commit hook that would update the version number
>> (which is in 1 place only) automatically to the SVN revision number?
>>>> I was going to suggest that the buildscript pull the current revision
> # out of SVN, but the idea of a commit hook sounds like it could be
> cleaner. Would the hook apply whenever any file is committed to the
> repository, or just to files in the superiotool directory?
>>Ideally only commits to the superiotool directory should count, since
its a seperate utility.
but we might want the same thing for linuxbios, too, and add that number
to EXTRA_VERSION or so
then we know which repository revision people work on when reporting
problems.
--
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.de • http://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866