couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [1/2] fabric commit: updated refs/heads/master to f84750e
Date Thu, 08 Sep 2016 18:05:37 GMT
Repository: couchdb-fabric
Updated Branches:
  refs/heads/master c7214fd2f -> f84750e3d


clarify error when all_or_nothing attempted

change the error message so that it doesn't imply
that all_or_nothing is a feature that will be
implemented in the future.


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/commit/a6cd3b21
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/tree/a6cd3b21
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/diff/a6cd3b21

Branch: refs/heads/master
Commit: a6cd3b21518a29af491c7174aa8c22d28b0119ee
Parents: 78eb096
Author: Will Holley <willholley@gmail.com>
Authored: Wed Sep 7 17:10:05 2016 +0100
Committer: Will Holley <willholley@gmail.com>
Committed: Wed Sep 7 17:12:50 2016 +0100

----------------------------------------------------------------------
 src/fabric_doc_update.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fabric/blob/a6cd3b21/src/fabric_doc_update.erl
----------------------------------------------------------------------
diff --git a/src/fabric_doc_update.erl b/src/fabric_doc_update.erl
index 2624c47..10e254f 100644
--- a/src/fabric_doc_update.erl
+++ b/src/fabric_doc_update.erl
@@ -207,7 +207,7 @@ validate_atomic_update(_DbName, AllDocs, true) ->
     % TODO actually perform the validation.  This requires some hackery, we need
     % to basically extract the prep_and_validate_updates function from couch_db
     % and only run that, without actually writing in case of a success.
-    Error = {not_implemented, <<"all_or_nothing is not supported yet">>},
+    Error = {not_implemented, <<"all_or_nothing is not supported">>},
     PreCommitFailures = lists:map(fun(#doc{id=Id, revs = {Pos,Revs}}) ->
         case Revs of [] -> RevId = <<>>; [RevId|_] -> ok end,
         {{Id, {Pos, RevId}}, Error}


Mime
View raw message