couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jch...@apache.org
Subject svn commit: r778890 - /couchdb/trunk/src/couchdb/couch_doc.erl
Date Tue, 26 May 2009 21:22:25 GMT
Author: jchris
Date: Tue May 26 21:22:22 2009
New Revision: 778890

URL: http://svn.apache.org/viewvc?rev=778890&view=rev
Log:
ignore _local_seq when included in a saved document

Modified:
    couchdb/trunk/src/couchdb/couch_doc.erl

Modified: couchdb/trunk/src/couchdb/couch_doc.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_doc.erl?rev=778890&r1=778889&r2=778890&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_doc.erl (original)
+++ couchdb/trunk/src/couchdb/couch_doc.erl Tue May 26 21:22:22 2009
@@ -211,6 +211,8 @@
 % ignored fields
 transfer_fields([{<<"_revs_info">>, _} | Rest], Doc) ->
     transfer_fields(Rest, Doc);
+transfer_fields([{<<"_local_seq">>, _} | Rest], Doc) ->
+    transfer_fields(Rest, Doc);
 transfer_fields([{<<"_conflicts">>, _} | Rest], Doc) ->
     transfer_fields(Rest, Doc);
 transfer_fields([{<<"_deleted_conflicts">>, _} | Rest], Doc) ->



Mime
View raw message