hg: rename opts argument to peeropts in clone
This should make it clearer that the options are used with remoteui
only and are not used otherwise in hg.clone.
hg: move peerschemes back to schemes
This will avoid breaking things with extensions until peers are fully
separated from repos.
hg: rearrange peer scheme lookup
There is now only peer scheme lookup. Repository lookup goes through
peer scheme lookup. When peer and repo types are finally separated,
repo lookup will use peer.local() to get a repository object.
The underbar is dropped so that extensions can patch the table.
forget, remove: don't note on nonexistent file twice
before:
$ hg forget foo
foo: No such file or directory
not removing foo: file is already untracked
after:
$ hg forget foo
foo: No such file or directory
dispatch: propagate ui command options to the local ui (
issue2523)
so the ui object passed to pre/post python hooks has the verbose flag
(and the rest) set correctly