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)
commit1c9dc0a476b6d9da6f2d727bb07102db85498480
treed27542feabd53a04c7960986fd655f40cd4fd07b
parente5562ddb061b8eb5a0e754d702f164a1d42d0a21
parent0c26596a84298ab491a201cf2466476e10f12a5f
Auto merge of #4665 - lukaslueg:issue4327, r=matklad

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