Do not update semantically equivalent lockfiles with --frozen/--locked.
authorMark Simulacrum <mark.simulacrum@gmail.com>
Sun, 12 Nov 2017 17:57:05 +0000 (10:57 -0700)
committerMark Simulacrum <mark.simulacrum@gmail.com>
Sun, 12 Nov 2017 18:42:58 +0000 (11:42 -0700)
commita96d7fd6e30eb8ac60d8577ea1c6098a5d3817b8
tree56fa9a2b0e05088ffb4788349d8dc848a6e08ce6
parent3bab08445141279cc63f68f50be27623637e4c93
Do not update semantically equivalent lockfiles with --frozen/--locked.

A previous patch in #4684 attempted to fix this, but didn't work for the
case where the [root] crate wasn't the first crate in the sorted package
array.
src/cargo/core/resolver/mod.rs
src/cargo/ops/lockfile.rs
tests/lockfile-compat.rs