Skip to content

Check whether the cached repo scm matches the clone scm #643

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 16, 2018

Conversation

screamerbg
Copy link
Contributor

This adds an additional check whether the cached repository matches the current SCM context during Repo.clone(). This aims to prevent cases where a cached Mercurial repo is used in Git context for example.

@screamerbg
Copy link
Contributor Author

cc @theotherjimmy

@screamerbg screamerbg merged commit 6383d0e into ARMmbed:master Mar 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants