On Thu, Jun 09, 2011 at 09:25:31PM +0000, noreply@xxxxxxxxxxxxx wrote: > ------------------------------------------------------------ > revno: 5961 > committer: Diego Biurrun <diego@xxxxxxxxxx> > branch nick: hipl > timestamp: Thu 2011-06-09 23:23:26 +0200 > message: > debian packaging: Integrate Bazaar revision number in package version. > modified: > packaging/create-package.sh > > --- packaging/create-package.sh 2011-02-24 09:29:01 +0000 > +++ packaging/create-package.sh 2011-06-09 21:23:26 +0000 > @@ -86,6 +85,7 @@ > > build_deb() > { > + debchange --newversion ${VERSION}-${VCS_REVISION} "entry automatically > added by $0" > dpkg-buildpackage -us -uc -I.bzr $BUILDPACKAGE_OPTS > } This does have one issue though - debian/changelog is changed automatically, but it is a file under revision control. Having such a modified file in the tree can be an annoyance. Adding debian/changelog to .bzrignore does not help. What we could do as an alternative is to drop that file from revision control altogether and rely on it being generated automatically always. Diego