Mercurial > ~astiob > upreckon > hgweb
comparison upreckon/publish.sh @ 146:d5b6708c1955
Distutils support, reorganization and cleaning up
* Removed command-line options -t and -u.
* Reorganized code:
o all modules are now in package upreckon;
o TestCaseNotPassed and its descendants now live in a separate
module exceptions;
o load_problem now lives in module problem.
* Commented out mentions of command-line option -c in --help.
* Added a distutils-based setup.py.
author | Oleg Oshmyan <chortos@inbox.lv> |
---|---|
date | Sat, 28 May 2011 14:24:25 +0100 |
parents | publish.sh@25b929aa92a1 |
children |
comparison
equal
deleted
inserted
replaced
145:d2c266c8d820 | 146:d5b6708c1955 |
---|---|
1 #! /bin/sh | |
2 | |
3 VERSION=`hg identify | awk '{ print $1 }'` | |
4 if [ -z "$VERSION" ] | |
5 then | |
6 echo The current Mercurial changeset could not be determined. >&2 | |
7 exit 1 | |
8 fi | |
9 | |
10 sed 's/$$REV$\$/hg '"$VERSION/" upreckon-vcs >upreckon | |
11 chmod +x upreckon |