path: have `peer` constructor accept a `path` object
We don't do anything fancy with it yet, but this is an important step towards
having the peers aware of their "source" and associated configurations.
path: deprecated the `pushloc` attribute
We want to make sure people with use the full featured path "variant".
path: update logic in `perf` to use the push variant when available
The command seems currently broken, but at least it won't be broken by us !
path: directly use the push_variant in `infinitepush`
We don't need any extra processing now.
path: directly use the push_variant in `hg histedit` outgoing logic
We don't need any extra processing now.
path: directly use the push_variant in the `outgoing` revset
We don't need any extra processing now.
path: directly use the push_variant in outgoing internals
We don't need any extra processing now.
path: directly use the push_variant in `hg summary`
We don't need any extra processing now.
path: directly use the push_variant in `hg outgoing`
We don't need any extra processing now.
path: directly use the push_variant in `hg push`
We don't need any extra processing now.
path: have `get_push_paths` directly return the push variants
So the function directly returns usable paths, that should help the callers!
path: add a method to retrieve a "push variant" of a path
This gets you the same path, but using the `pushurl` as destination.
This opens the way for a lot of different improvements, the one which
interests us is having `peer` objects aware of the `path` they came from.
tests: use an all too familiar executable in test-run-tests.t (
issue6661)
true(1) sometimes lives in /usr/bin/, and so this test fails on such systems.
We also can't use which(1), because it's apparently not POSIX and Debian
complains about it [1]. We also cannot really create a script and chmod +x it,
because this is a symlink case, execbit case is slightly below. So let's use
something that we know is executable, but not hg itself.
path: move the url parsing and related attribute setting to a method
This will make it simpler to reuse this logic in the next changeset.