sapling
sapling copied to clipboard
schemes extension is not working
Steps to reproduce:
Add the following lines to the user config file.
[schemes]
gh = https://github.com/
gh-ssh = ssh://[email protected]/
Then:
$ sl clone gh://facebook/sapling
destination directory: sapling
abort: repository https://github.com/facebook/sapling not found!
$ sl clone gh-ssh://facebook/sapling
destination directory: sapling
remote: Invalid command: 'hg -R facebook/sapling serve --stdio'
remote: You appear to be using ssh to clone a git:// URL.
remote: Make sure your core.gitProxy config option and the
remote: GIT_PROXY_COMMAND environment variable are NOT set.
abort: command failed due to network error (see /var/folders/7l/1w2mnbsn50vf3swq5b59dx_00000gn/T/hg-error-details-ezrj_lzw for details)
Invalid config: no config for edenapi.url
I realize that this may be because some parts of sapling are not yet fully ported from Mercurial, but the extension is enabled by default, so I assume that it is not being deprecated.