Mercurial > ~astiob > upreckon > hgweb
view upreckon/publish.sh @ 150:006dce02752c
Added the testee configuration variable and the config.nativize_path function
The testee configuration variable stores the string or iterable of strings to
pass to subprocess.Popen except that the first/only string always follows the
POSIX pathname format or, if the native format is really needed, is prefixed
by slash-slash-colon (the same format is used in Boost.Filesystem).
config.nativize_path is now a part of the public API of the config module.
It converts a path in the format described above into the native format
and can be used in testconf if it needs to use paths other than testee[0].
author | Oleg Oshmyan <chortos@inbox.lv> |
---|---|
date | Fri, 03 Jun 2011 02:39:02 +0100 |
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