The upstream commit f437ee85f4a6789d7c3be0d68fd26aa257557b83 (http://cgit.freedesktop.org/mesa/mesa/commit/?id=f437ee85f4a6789d7c3be0d68fd26aa257557b83) is tagged with a Revision ID of git-v1:f437ee85f4a6789d7c3be0d68fd26aa257557b83 when it is imported into https://code.edge.launchpad.net/~vcs-imports/mesa/master
When building nightly builds I would like to contain the git id in the debian version (at least the 7 or 8 character short form), since this is the only identification that upstream developers can rely on. So I would like for instance a variable "upstreamcommit" so that I can make a recipe with something like:
deb-version {debupstream}~git{time}+{upstreamcommit}-0ubuntu0tormod
to get a version of for instance 7.9.0~git20100816+f437ee85-0ubuntu0tormod
See also bug 412722 requesting something similar for SVN.
Thanks,
James