Auto merge of #4665 - lukaslueg:issue4327, r=matklad
authorbors <bors@rust-lang.org>
Fri, 27 Oct 2017 14:02:41 +0000 (14:02 +0000)
committerbors <bors@rust-lang.org>
Fri, 27 Oct 2017 14:02:41 +0000 (14:02 +0000)
Discover vcs in new-cmd only if --vcs not set

If a commandline-argument is given, it takes precedence
over the config and existing vcs. Avoid trying to discover
existing repositories in that case, saving use from
shelling out to `hg`. Fixes #4327


Trivial merge