On Tue, Oct 30, 2012 at 7:13 PM, Robert Newson <[email protected]> wrote: > #!/bin/sh > > URL="localhost:5984/db1" > > curl "localhost:5984" > curl $URL -XDELETE > curl $URL -XPUT > curl $URL/doc1 -XPUT -d '{}' > curl $URL/doc1 -HDestination:doc2 -XCOPY > > {"couchdb":"Welcome","version":"1.1.1"} > {"error":"not_found","reason":"missing"} > {"ok":true} > {"ok":true,"id":"doc1","rev":"1-967a00dff5e02add41819138abb3284d"} > {"id":"doc2","rev":"1-967a00dff5e02add41819138abb3284d"} > > vs > > {"couchdb":"Welcome","version":"1.2.0"} > {"ok":true} > {"ok":true} > {"ok":true,"id":"doc1","rev":"1-967a00dff5e02add41819138abb3284d"} > {"ok":true,"id":"doc2","rev":"1-6aaf7080aad9d1a9482e07c46581dac0"} >
odd. I never paid attention. Though I wouldn't care about it... It is somehow unexpected (how could revisions be the same since the docids changed)
