]> err.no Git - linux-2.6/commit
kbuild: support mercurial in setlocalversion
authorAron Griffis <aron@hp.com>
Wed, 28 Nov 2007 21:55:44 +0000 (16:55 -0500)
committerSam Ravnborg <sam@ravnborg.org>
Mon, 28 Jan 2008 22:14:36 +0000 (23:14 +0100)
commit3dce174cfcba11026b028d33bed0438b80e37124
tree175ed5a8a882409a2ccbb6a60a66ae556730740f
parent2f4b489b77c68b9cba1bd9dec5a1bbf0ab3c47f8
kbuild: support mercurial in setlocalversion

This represents mercurial changesets similarly to git.  For untagged
revisions, append the changeset id.  If there are uncommitted changes,
append -dirty.  For example, -hgc60016ba6237-dirty

Signed-off-by: Aron Griffis <aron@hp.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/setlocalversion