Mercurial > ~astiob > upreckon > hgweb
view upreckon/publish.sh @ 240:2798cbebd83a
Re-allowed callable output validators to give comments as Unicode strings
At the same time:
* removed an unnecessary sys.stdout.flush() on Python 2,
* removed an unnecessary variable re-initialization.
author | Oleg Oshmyan <chortos@inbox.lv> |
---|---|
date | Tue, 11 Dec 2012 02:48:00 +0200 |
parents | d5b6708c1955 |
children |
line wrap: on
line source
#! /bin/sh VERSION=`hg identify | awk '{ print $1 }'` if [ -z "$VERSION" ] then echo The current Mercurial changeset could not be determined. >&2 exit 1 fi sed 's/$$REV$\$/hg '"$VERSION/" upreckon-vcs >upreckon chmod +x upreckon