Adding a remote with file:// triggers a warning

Issue #120 resolved
Noam Kushinsky created an issue

In a git repository I added a remote using file:///… to a local directory. Now I see that pycharm logs warnings saying

BitbucketLinky - Unknown scheme ‘file' in the URI ‘file:///some/path’

Reproducing this shouldn’t be difficult -

git add remote local-dir file:///some/path

Comments (3)

  1. Daniil Penkin staff

    Hi @Noam Kushinsky ,

    Thanks for surfacing this bug, I’ll fix it in the next release.

    Cheers,
    Daniil

  2. Daniil Penkin staff

    Turned out I even had tests for this case, I just didn’t care about having that warning in the logs 😕

    Anyways, just released 2021.1.165 which should be silent about this kind of remote URLs.

    Cheers,
    Daniil

  3. Log in to comment