Mercurial > hg
view tests/test-1102 @ 9814:5070e4d57276
buildrpm: enhance changelog of the RPM file
Now the changelog is different depending if the parent is tagged:
- for tags, keep the previous content, i.e. changelog of the tags.
- for nightly build, changelog of the changesets since the latest tag
As RPM is expecting strictly descending dates, I have used a python
script to reorder the mercurial changelog.
author | Gilles Moris <gilles.moris@free.fr> |
---|---|
date | Fri, 06 Nov 2009 10:06:08 +0100 |
parents | 938eddd76237 |
children |
line wrap: on
line source
#!/bin/sh rm -rf a hg init a cd a echo a > a hg ci -Am0 hg tag t1 # 1 hg tag --remove t1 # 2 hg co 1 hg tag -r0 t1 hg tags