Mercurial > ~astiob > upreckon > hgweb
view publish.sh @ 145:d2c266c8d820
Output-only problems no longer print times
author | Oleg Oshmyan <chortos@inbox.lv> |
---|---|
date | Fri, 27 May 2011 22:39:46 +0100 |
parents | 25b929aa92a1 |
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