[Swift-commit] r5782 - trunk/libexec
hategan at ci.uchicago.edu
hategan at ci.uchicago.edu
Mon Apr 30 22:52:06 CDT 2012
Author: hategan
Date: 2012-04-30 22:52:06 -0500 (Mon, 30 Apr 2012)
New Revision: 5782
Modified:
trunk/libexec/vdl-int-staging.k
Log:
also use a constant for pgraph property
Modified: trunk/libexec/vdl-int-staging.k
===================================================================
--- trunk/libexec/vdl-int-staging.k 2012-04-30 23:48:28 UTC (rev 5781)
+++ trunk/libexec/vdl-int-staging.k 2012-05-01 03:52:06 UTC (rev 5782)
@@ -17,6 +17,7 @@
pinOption := configProperty("provider.staging.pin.swiftfiles")
global(PIN, if(pinOption == "true", "pinned:", ""))
+global(PROVENANCE_GRAPH_ENABLED, vdl:configProperty("pgraph") != "false")
namespace("vdl"
export(
@@ -35,8 +36,8 @@
)
element(graphStuff, [tr, stagein, stageout, err, optional(args)]
- if(
- vdl:configProperty("pgraph") != "false" then(
+ if(PROVENANCE_GRAPH_ENABLED
+ then(
errprops := if(err ",color=lightsalmon" ",color=lightsteelblue1")
tp := vdl:threadPrefix()
to(graph,
More information about the Swift-commit
mailing list