Auto merge of #4716 - Mark-Simulacrum:frozen-freezes-beta, r=alexcrichton
authorbors <bors@rust-lang.org>
Sun, 12 Nov 2017 22:34:46 +0000 (22:34 +0000)
committerbors <bors@rust-lang.org>
Sun, 12 Nov 2017 22:34:46 +0000 (22:34 +0000)
[beta] 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.

Backport of https://github.com/rust-lang/cargo/pull/4714.


Trivial merge