Repository: tinkerpop Updated Branches: refs/heads/tp32 615026cef -> aaa0f14c2
Minor udpates to changelog/upgrade docs around GraphHelper.cloneElements() CTR Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/aaa0f14c Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/aaa0f14c Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/aaa0f14c Branch: refs/heads/tp32 Commit: aaa0f14c2c8c7ecb529d1b2152b8c65bb538d6c0 Parents: 615026c Author: Stephen Mallette <sp...@genoprime.com> Authored: Thu Sep 21 07:32:27 2017 -0400 Committer: Stephen Mallette <sp...@genoprime.com> Committed: Thu Sep 21 07:32:27 2017 -0400 ---------------------------------------------------------------------- CHANGELOG.asciidoc | 2 +- docs/src/upgrade/release-3.2.x-incubating.asciidoc | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/aaa0f14c/CHANGELOG.asciidoc ---------------------------------------------------------------------- diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc index 64d4167..ecfd078 100644 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@ -26,7 +26,7 @@ image::https://raw.githubusercontent.com/apache/tinkerpop/master/docs/static/ima TinkerPop 3.2.7 (Release Date: NOT OFFICIALLY RELEASED YET) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -* Added `GraphHelper.cloneElements(Graph original, Graph clone)` to quickly clone a graph. +* Added `GraphHelper.cloneElements(Graph original, Graph clone)` to the `gremlin-test` module to quickly clone a graph. * Bump to GMavenPlus 1.6. * Added better error message for illegal use of `repeat()`-step. * Bump to Jackson 2.8.10. http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/aaa0f14c/docs/src/upgrade/release-3.2.x-incubating.asciidoc ---------------------------------------------------------------------- diff --git a/docs/src/upgrade/release-3.2.x-incubating.asciidoc b/docs/src/upgrade/release-3.2.x-incubating.asciidoc index 96017b4..71d1930 100644 --- a/docs/src/upgrade/release-3.2.x-incubating.asciidoc +++ b/docs/src/upgrade/release-3.2.x-incubating.asciidoc @@ -88,9 +88,12 @@ to the list of locally computed clauses. See: link:https://issues.apache.org/jira/browse/TINKERPOP-1764[TINKERPOP-1764] -Clone a graph +Clone a Graph ^^^^^^^^^^^^^ -If you want to quickly clone a graph (e.g. because you have set it up in a test and your traversals manipulate the graph) you can now use `GraphHelper.cloneElements(Graph original, Graph clone)` which is part of the gremlin-test module. + +In `gremlin-test` there is a new `GraphHelper` class that has a `cloneElements()` method. It will clone elements from +the first graph to the second - `GraphHelper.cloneElements(Graph original, Graph clone)`. This helper method is +primarily intended for use in tests. TinkerPop 3.2.6 ---------------