Dear plugins writers,

Please, don't convert URLs to file paths using this hack:

from_location = from_location[len("file://"):]

Please, always use dedicated API for this:

bzrlib.urlutils.local_path_from_url

Because the hack with len("file://") does not work on Windows, see:

URL: file:///C:/foo/bar

path after hack: /C:/foo/bar

should be: C:/foo/bar

Thank you.

_______________________________________________
Mailing list: https://launchpad.net/~bzr-explorer-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~bzr-explorer-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to