On Wed, Aug 01, 2007 at 03:37:25PM -0700, Alexander Novick wrote: > We usually use /usr/sbin/modinfo to determine versions for specific modules. > With removal of user visible SCCS keywords how can we get module version > if the version is not implanted in th binary?
Without keywords, you can do: char version[] = VERSION; cc -DVERSION="\"`hg id -i`\"" foo.c And version will be the project-wide changeset id, which will precisely identify all the files in the build. -- "Love the dolphins," she advised him. "Write by W.A.S.T.E.."