Skip to content

Fix checking for repo dir without git/hg - Issue #110

username-removed-353021 requested to merge adammhaile/flake8:master into master

Fixes issue #110 (closed) Now reports correct message (Error: could not find either a git or mercurial directory. Please re-run this in a proper repository.) when calling --install-hook on a non-repo directory and mercurial (or git) is missing from the system instead of crashing.

Merge request reports