Skip to content
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

added Hg.identify #6

Merged
merged 3 commits into from
Oct 3, 2017
Merged

added Hg.identify #6

merged 3 commits into from
Oct 3, 2017

Conversation

kfirprods
Copy link
Contributor

I needed Hg.identify so that my code can check the validity of a remote repository url without cloning it. It's merely a proxy to the "hg identify http://url" command and my changes only involve adding a few lines to the exported Hg class - nothing removed.

@jdalrymple
Copy link
Owner

Looks good! Only one thing, since it is a static function, it should be prefixed with a static keyword, that should fix the eslinting errors. Once that is done, ill approve the PR!

@kfirprods
Copy link
Contributor Author

Done :)

@jdalrymple jdalrymple merged commit 4a7dbff into jdalrymple:master Oct 3, 2017
This pull request was closed.
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