Revert df256d84a7fa.

This commit is contained in:
Peter D. Barnes, Jr.
2015-07-24 11:49:59 -07:00
parent 0e5781ee97
commit 91a1e78dca

View File

@@ -152,8 +152,8 @@ elif [ $tag -eq 1 ]; then
else
version=`hg log -r tip --template '{node|short}'`
# Check for uncommitted changes
hg summary | grep -q 'commit: (clean)'
if [ $? ] ; then
hg summary | grep 'commit:' | grep -q '(clean)'
if [ ! $? ] ; then
say "beyond latest tag, last commit: $version, dirty"
dirty="(+)"
else