couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikewallace1979 <...@git.apache.org>
Subject [GitHub] couchdb-couch-replicator pull request: 2707 merge couch replicator...
Date Fri, 05 Jun 2015 15:02:10 GMT
Github user mikewallace1979 commented on a diff in the pull request:

    https://github.com/apache/couchdb-couch-replicator/pull/11#discussion_r31819938
  
    --- Diff: src/couch_replicator_api_wrap.erl ---
    @@ -83,9 +83,16 @@ db_open(#httpdb{} = Db1, _Options, Create) ->
                         ok
                     end)
             end,
    -        send_req(Db, [{method, head}],
    -            fun(200, _, _) ->
    -                {ok, Db};
    +        send_req(Db, [{method, get}],
    +            fun(200, _, {Props}) ->
    +                case get_value(<<"update_seq">>, Props) of
    --- End diff --
    
    @kxepal seems like a sensible check - I added a commit to the PR


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message