# HG changeset patch # User Oleg Oshmyan # Date 1306459627 -3600 # Node ID 25b929aa92a1bd02e851631cc4a24ff2f6b68d43 # Parent 92f76baebcc6f545eedbd2948f4195b01a1e15b3 publish.sh now uses hg identify diff -r 92f76baebcc6 -r 25b929aa92a1 publish.sh --- a/publish.sh Wed May 25 22:20:56 2011 +0100 +++ b/publish.sh Fri May 27 02:27:07 2011 +0100 @@ -1,6 +1,6 @@ #! /bin/sh -VERSION=`hg summary | grep '^parent' | sed -n 's/^parent: [0-9]*:\([0-9a-f]\{1,\}\) .*$/\1/p'` +VERSION=`hg identify | awk '{ print $1 }'` if [ -z "$VERSION" ] then echo The current Mercurial changeset could not be determined. >&2