Changeset: 3cf30212d774 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=3cf30212d774
Modified Files:
testing/Mtest.py.in
Branch: default
Log Message:
Merge with Aug2011 branch.
diffs (23 lines):
diff --git a/testing/Mtest.py.in b/testing/Mtest.py.in
--- a/testing/Mtest.py.in
+++ b/testing/Mtest.py.in
@@ -3393,11 +3393,14 @@ def main(argv) :
global URLPREFIX
REV = opts.get('revision')
if REV is None: # no --revision option: try to find out
- proc = subprocess.Popen(['hg', 'id', '-i'], stdout = subprocess.PIPE)
- out, err = proc.communicate()
- if proc.returncode == 0:
- REV = out.strip()
- proc = None
+ try:
+ proc = subprocess.Popen(['hg', 'id', '-i'], stdout =
subprocess.PIPE)
+ out, err = proc.communicate()
+ if proc.returncode == 0:
+ REV = out.strip()
+ proc = None
+ except:
+ pass
# fix up URLPREFIX
if REV:
URLPREFIX += '%s/%s/' % (REV.split()[0].rstrip('+'), par['PACKAGE'])
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list