So, I have two identical documents on two separate servers -

curl -X GET http://localhost:5984/DB/xxxxxxxxxxxxxx

They both report the same -

{"_id":"xxxxxxxxxxxxxx","_rev":"1-7394816385718141819138abb3284d"}
{"_id":"xxxxxxxxxxxxxx","_rev":"1-7394816385718141819138abb3284d"}

I then purposely update both documents independently, causing a different
revision on each.

{"_id":"xxxxxxxxxxxxxx","_rev":"2-9481748609089ec2762fca087123a7af"}
{"_id":"xxxxxxxxxxxxxx","_rev":"2-838194718371483ea1131157e3012bdd"}

I then perform a replication. As expected, couchdb decides on one -

{"_id":"xxxxxxxxxxxxxx","_rev":"2-9481748609089ec2762fca087123a7af"}
{"_id":"xxxxxxxxxxxxxx","_rev":"2-9481748609089ec2762fca087123a7af"}

Futon on both servers only lists two revisions, with the second being
2-9481748609089ec2762fca087123a7af.

The discarded revision 2-838194718371483ea1131157e3012bdd I can see when I
view conflicts via a view. However, how can I view the discarded revision
with the API and/or Futon?

Using /DB/xxxxxxxxxxxxxx?2-838194718371483ea1131157e3012bdd does not work.

Thanks.

Reply via email to