-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

I've just pushed some changes to mainline that result in Wget including
its Mercurial revision when that information is available (a truncated
SHA-1 hash, plus a "+" sign if there are local modifications.)

Among other things, version.c is now generated rather than parsed. Every
time "make all" is run, which also means that "make all" will always
relink the wget binary, even if there haven't been any changes.

This also pretty much guarantees that the Windows and MS-DOS builds are
now broken in mainline, since they still depend on version.c, but won't
generate it. "Patches accepted here." :)

A quick fix would be to simply generate one with the basic version
information and no repository info, but best would be if it could
include Mercurial revision information if it's available.

.

$ wget --version
GNU Wget 1.12-devel (bf48b2652707)

Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://www.gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Originally written by Hrvoje Niksic <[EMAIL PROTECTED]>.
Currently maintained by Micah Cowan <[EMAIL PROTECTED]>.

$ wget --version   # from a tarball, no repo
GNU Wget 1.12-devel

Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
...

- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer...
http://micah.cowan.name/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHDFZX7M8hyUobTrERCFQOAJ9m3/i8v/iJbHFIGAS28X6MOAka5gCcCRBS
CN5l8ZPMWfTX8hdcJBOw780=
=XFw5
-----END PGP SIGNATURE-----

Reply via email to