Replication manager: don't update doc if new state == current state
Replication manager: don't update doc if new state == current state

This is to avoid unncessary updates.

This is a backport of revision 1125317 (trunk).


git-svn-id: eed9d206131b186e33f41325873c3684e4065c95@1125320 13f79535-47bb-0310-9956-ffa450edef68

bittorrent/bigcouch,PerilousApricot/bigcouch,georgemarshall/bigcouch,linearregression/bigcouch,Asquera/bigcouch,PerilousApricot/bigcouch,breezjw/bigcouch,bittorrent/bigcouch,breezjw/bigcouch,benoitc/bigcouch,PerilousApricot/bigcouch,Asquera/bigcouch,georgemarshall/bigcouch,breezjw/bigcouch,PerilousApricot/bigcouch,bittorrent/bigcouch,cloudant/bigcouch,breezjw/bigcouch,Asquera/bigcouch,andrejb/cloudant_bigcouch,kofron/bigcouch,PerilousApricot/bigcouch,georgemarshall/bigcouch,benoitc/bigcouch,georgemarshall/bigcouch,benoitc/bigcouch,georgemarshall/bigcouch,breezjw/bigcouch,Asquera/bigcouch,kofron/bigcouch,andrejb/cloudant_bigcouch,cloudant/bigcouch,cloudant/bigcouch,cloudant/bigcouch,linearregression/bigcouch,linearregression/bigcouch,georgemarshall/bigcouch,andrejb/cloudant_bigcouch,cloudant/bigcouch,bittorrent/bigcouch,kofron/bigcouch,benoitc/bigcouch,benoitc/bigcouch,PerilousApricot/bigcouch,andrejb/cloudant_bigcouch,linearregression/bigcouch,benoitc/bigcouch,kofron/bigcouch,linearregression/bigcouch,breezjw/bigcouch,cloudant/bigcouch,Asquera/bigcouch,kofron/bigcouch,kofron/bigcouch,linearregression/bigcouch,cloudant/bigcouch,linearregression/bigcouch,bittorrent/bigcouch,andrejb/cloudant_bigcouch,Asquera/bigcouch,bittorrent/bigcouch,andrejb/cloudant_bigcouch,andrejb/cloudant_bigcouch