]> git.proxmox.com Git - cargo.git/commit
Auto merge of #3040 - matklad:rootless-readlockfile, r=alexcrichton
authorbors <bors@rust-lang.org>
Fri, 26 Aug 2016 19:48:17 +0000 (12:48 -0700)
committerGitHub <noreply@github.com>
Fri, 26 Aug 2016 19:48:17 +0000 (12:48 -0700)
commit53e3d17b03338dc8d31e69592164bcc3028fe522
tree31562f7d145ecbe9db29b4239b6aef19c765c040
parentaab09be84b0f458d131bd1ee34636675ce65f114
parentb91c54f3247a010ade59e251334c67facc712596
Auto merge of #3040 - matklad:rootless-readlockfile, r=alexcrichton

Don't use current package when reading lockfile

Looks like this `default` thing is basically a hack, which is fired when the lockfile references some package which is no longer present. That is, if I remove `default` and just `unwrap` source id, the only test which fails is `git_with_lockfile` because it has a typo in the lockfile.

So I've just changed the `default` to some dummy path. Perhaps a more correct solution would be to ignore such packages completely when loading lockfile.