You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2016/04/17 13:05:19 UTC
incubator-tinkerpop git commit: TINKERPOP-1229 Minor change to
message for ":remote console" CTR
Repository: incubator-tinkerpop
Updated Branches:
refs/heads/tp31 44b1af8f7 -> da31876d7
TINKERPOP-1229 Minor change to message for ":remote console" CTR
Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/da31876d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/da31876d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/da31876d
Branch: refs/heads/tp31
Commit: da31876d724a00be0ee32157acb9c784f0aeec12
Parents: 44b1af8
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Sun Apr 17 07:04:25 2016 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Sun Apr 17 07:04:25 2016 -0400
----------------------------------------------------------------------
.../tinkerpop/gremlin/console/commands/RemoteCommand.groovy | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/da31876d/gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/commands/RemoteCommand.groovy
----------------------------------------------------------------------
diff --git a/gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/commands/RemoteCommand.groovy b/gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/commands/RemoteCommand.groovy
index 49b4e1e..79e4099 100644
--- a/gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/commands/RemoteCommand.groovy
+++ b/gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/commands/RemoteCommand.groovy
@@ -129,8 +129,8 @@ class RemoteCommand extends ComplexCommandSupport {
private String swapEvaluationMode() {
mediator.localEvaluation = !mediator.localEvaluation
if (mediator.localEvaluation)
- return "Exited remote console - all scripts will now be evaluated locally"
+ return "All scripts will now be evaluated locally - type ':remote console' to return to remote mode for ${mediator.currentRemote()}"
else
- return "All scripts will now be sent to ${mediator.currentRemote()} - type ':remote console' to exit"
+ return "All scripts will now be sent to ${mediator.currentRemote()} - type ':remote console' to return to local mode"
}
}