Added tests for local and remote init.
This tests the changes done in
edb66cb05ded and
b898afee9d0d.
Add ui method to set --ssh/--remotecmd, use it in init/clone/pull/push/in/out.
The only user visible change is that 'hg init' now accepts this options, too.
clone: move code into hg module. make doc better.
api in commands module is still same, but version in hg is best for
calling within python now.
parse url schemes more strictly.
previous code mistook repo named "hg" for scheme named "hg".
Additional information about URLs in pull/push/clone/init:
- clone to ssh://
- init via ssh://
- example for pull from an absolute directory via ssh://
- push to http:// and https://