]> git.baikalelectronics.ru Git - kernel.git/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)
commit2c1a119a47c3152e5ab242921bf8838e01f36b1b
tree175ed5a8a882409a2ccbb6a60a66ae556730740f
parentf7d6c0fab839004060e52e4aaf841460c65ede00
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